From 96642397a2faf1e1fdc1f3bdbd79b15292b7a139 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sat, 8 Jun 2024 13:13:04 +0200 Subject: [PATCH 01/50] wp: added features for all r headers.. --- Cargo.toml | 103 +++++++++++++++++++++++++++++++++++++++++++++++++ build.rs | 2 +- mini_wrapper.h | 38 ++++++++++++++++++ 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 mini_wrapper.h diff --git a/Cargo.toml b/Cargo.toml index 4db0ba7d..35355bc9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,109 @@ runtime = ["bindgen/runtime"] # Enables generation of layout-tests in bindgen layout_tests = ["use-bindgen"] +# TODO:?! +# stamp-h.in +# Makefile = [] +# config.in = [] +# Makefile.in = [] +# Makefile.win = [] + +# internal headers, not installed +# Rgraphics = [] +# Internal.h +# Print = [] +# Parse = [] +# Errormsg = [] +# Startup = [] +# Rconnections = [] +# rlocale = [] +# Fileio = [] +# Graphics = [] +# Rmodules/RX11 +# Rmodules/Rlapack +# Rmodules/Rinternet // doesn't state that is internal...but it is... +# Rmath0.in = [] +# Rinlinedfuns = [] +# Defn = [] +# IOStuff = [] +Rinternals = [] +GraphicsEngine = [] +Error = [] +Itermacros = [] +Utils = [] +stats_stubs = [] +GetX11Image = [] +GraphicsDevice = [] +Callbacks = [] +Rdynload = [] +RS = [] +BLAS = [] +Arith = [] +Boolean = [] +Applic = [] +Linpack = [] +Constants = [] +Riconv = [] +RStartup = [] +QuartzDevice = [] +libextern = [] +MathThreads = [] +Memory = [] +Connections = [] +PrtUtil = [] +Altrep = [] +Rallocators = [] +Visibility = [] +stats_package = [] +Complex = [] +Lapack = [] +Random = [] +eventloop = [] +R_ext = [ + "GraphicsEngine", + "Error", + "Itermacros", + "Utils", + "stats_stubs", + "GetX11Image", + "GraphicsDevice", + "Callbacks", + "Rdynload", + "Parse", + "RS", + "BLAS", + "Arith", + "Boolean", + "Applic", + "Linpack", + "Constants", + "Riconv", + "RStartup", + "Print", + "QuartzDevice", + "libextern", + "MathThreads", + "Memory", + "Connections", + "PrtUtil", + "Altrep", + "Rallocators", + "Visibility", + "stats_package", + # "Makefile", + "Complex", + "Lapack", + "Random", + "eventloop", +] +GraphicsBase = [] +Rembedded = [] +Rdynpriv = [] +Rdefines = [] +R = [] +Rinterface = [] + + [lib] # Some code comments on R's source code might be accidentally treated as Rust's # doc test. See https://github.com/extendr/libR-sys/issues/194 for the details. diff --git a/build.rs b/build.rs index 33303da4..cbbce678 100644 --- a/build.rs +++ b/build.rs @@ -421,7 +421,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .merge_extern_blocks(true) // The input header we would like to generate // bindings for. - .header("wrapper.h") + .header("mini_wrapper.h") // Tell cargo to invalidate the built crate whenever any of the // included header files changed. .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())); diff --git a/mini_wrapper.h b/mini_wrapper.h new file mode 100644 index 00000000..40d254e0 --- /dev/null +++ b/mini_wrapper.h @@ -0,0 +1,38 @@ +#include // for ptrdiff_t + +// R_xlen_t is defined as int on 32-bit platforms, and +// that confuses Rust. Keeping it always as ptrdiff_t works +// fine even on 32-bit. +///
+typedef ptrdiff_t R_xlen_t_rust; + +// Define this for R_CStackLimit +// #define HAVE_UINTPTR_T +#define CSTACK_DEFNS + +// From r83513 (R 4.3), R defines the `NORET` macro differently depending on the +// C/C++ standard the compiler uses. It matters when the header is used in C/C++ +// libraries, but all we want to do here is to make bindgen interpret `NOREP` to +// `!`. However, for some reason, bindgen doesn't handle other no-return +// attributes like `_Noreturn` (for C11) and `[[noreturn]]` (for C++ and C23), +// so we define it here. +#define NORET __attribute__((__noreturn__)) + +//TODO: What to do about this? +// #ifndef _WIN32 +// #define R_INTERFACE_PTRS +// #include +// #else +// extern uintptr_t R_CStackLimit; /* C stack limit */ +// #endif + +// R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran. +// But the old definition is compatible both the union version +// and the struct version. +// See: +///
+typedef struct +{ + double r; + double i; +} R_complex_impl; From 2d32d8de33c20d735a69e169b5ab3161f1f91fc5 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sat, 8 Jun 2024 13:26:26 +0200 Subject: [PATCH 02/50] wp: added files seen on mac... --- Cargo.toml | 21 +++++++++++++++------ src/lib.rs | 10 +++++++++- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 35355bc9..d5c25bf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,8 @@ runtime = ["bindgen/runtime"] # Enables generation of layout-tests in bindgen layout_tests = ["use-bindgen"] +# TODO: include default headers... + # TODO:?! # stamp-h.in # Makefile = [] @@ -61,7 +63,10 @@ layout_tests = ["use-bindgen"] # Rinlinedfuns = [] # Defn = [] # IOStuff = [] -Rinternals = [] + +# R_ext/* +Print = [] +Parse = [] GraphicsEngine = [] Error = [] Itermacros = [] @@ -131,13 +136,17 @@ R_ext = [ "Random", "eventloop", ] -GraphicsBase = [] -Rembedded = [] -Rdynpriv = [] -Rdefines = [] +# R_INCLUDES/* (in root) +libintl = [] R = [] +Rconfig = [] +Rdefines = [] +Rembedded = [] Rinterface = [] - +Rinternals = [] +Rmath = [] +# GraphicsBase = [] # private +Rdynpriv = [] # ?? [lib] # Some code comments on R's source code might be accidentally treated as Rust's diff --git a/src/lib.rs b/src/lib.rs index 273f76e4..5c5a116a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,6 @@ //! } //! } //! ``` - #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] @@ -72,14 +71,19 @@ include!(concat!(env!("OUT_DIR"), "/bindings.rs")); pub struct SEXPREC(std::ffi::c_void); extern "C" { + #[cfg(feature = "Boolean")] // FIXME: maybe remove? + #[cfg(feature = "Rinternals")] // Return type should match `SEXPTYPE` pub fn TYPEOF(x: SEXP) -> SEXPTYPE; } +#[cfg(feaature = "Altrep")] #[allow(non_camel_case_types)] pub type R_altrep_Coerce_method_t = ::std::option::Option SEXP>; + +#[cfg(feature = "Boolean")] pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { unsafe { if secret::Rf_isS4_original(arg1) == 0 { @@ -93,11 +97,14 @@ pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { mod secret { use super::*; extern "C" { + #[cfg(feature = "Rinternals")] #[link_name = "Rf_isS4"] pub fn Rf_isS4_original(arg1: SEXP) -> u32; } } + +#[cfg(feature = "Boolean")] impl From for bool { fn from(value: Rboolean) -> Self { match value { @@ -107,6 +114,7 @@ impl From for bool { } } +#[cfg(feature = "Boolean")] impl From for Rboolean { fn from(value: bool) -> Self { match value { From 1edbb6ea5a227ff3ca357c9750d2f5f9ad72f750 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 12:29:49 +0200 Subject: [PATCH 03/50] wp: running the bindings for each separate file --- Cargo.toml | 1 + build.rs | 109 +++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 81 insertions(+), 29 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d5c25bf3..69f1a9ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ repository = "https://github.com/extendr/libR-sys" [build-dependencies] bindgen = { version = "0.69.4", optional = true, features = ["experimental"] } regex = { version = "*", optional = true, default-features = false } +fs_extra = "1.3" [features] default = ["runtime"] diff --git a/build.rs b/build.rs index cbbce678..8ab6915c 100644 --- a/build.rs +++ b/build.rs @@ -407,6 +407,8 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // The bindgen::Builder is the main entry point // to bindgen, and lets you build up options for // the resulting bindings. + + use std::collections::HashMap; let mut bindgen_builder = bindgen::Builder::default(); #[cfg(all(feature = "use-bindgen", not(feature = "non-api")))] @@ -459,7 +461,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // this effectively ignores all non-R headers from sneaking in bindgen_builder = bindgen_builder .allowlist_file(r_include_path_escaped) - .allowlist_file(".*wrapper\\.h$"); + .allowlist_file(".*mini_wrapper\\.h$"); // stops warning about ignored attributes, // e.g. ignores `__format__` attributes caused by `stdio.h` @@ -512,7 +514,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let bindgen_builder = bindgen_builder.blocklist_item("Rcomplex__bindgen_ty_1"); // Finish the builder and generate the bindings. - let bindings = bindgen_builder + let bindgen_builder = bindgen_builder .raw_line(format!( "/* libR-sys version: {} */", env!("CARGO_PKG_VERSION") @@ -524,42 +526,91 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .raw_line(format!("/* r version: {} */", version_info.full)) .generate_comments(true) .parse_callbacks(Box::new(TrimCommentsCallbacks)) - .clang_arg("-fparse-all-comments") - .generate() - // Unwrap the Result and panic on failure. - .expect("Unable to generate bindings"); + .clang_arg("-fparse-all-comments"); + + // generate a bindings file for each available header file + let r_headers = fs_extra::dir::get_dir_content(r_include_path) + .unwrap() + .files; + dbg!(&r_headers); + + // name to path + let r_headers_to_path = r_headers.iter().map(|r_header_path| + (Path::new(r_header_path).file_stem().unwrap().to_str().unwrap(), + r_header_path) + ).collect::>(); // Write the bindings to the $OUT_DIR/bindings.rs file. let out_path = PathBuf::from(env::var_os("OUT_DIR").unwrap()); + dbg!(&out_path); + for r_header in &r_headers { + let r_header_name = Path::new(r_header).file_stem().unwrap().to_str().unwrap(); + dbg!(r_header_name); + let mut bindings = bindgen_builder.clone(); + match r_header_name { + r"Complex" => { + // bindings = bindings.header("wrapper_head_Rcomplex.h"); + } + "Parse" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + "Altrep" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + + "GraphicsEngine" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } - bindings - .write_to_file(out_path.join("bindings.rs")) - .expect("Couldn't write bindings to default output path!"); - - // Also write the bindings to a folder specified by `LIBRSYS_BINDINGS_OUTPUT_PATH`, if defined - if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { - let out_path = PathBuf::from(alt_target); - // if folder doesn't exist, try to create it - if !out_path.exists() { - fs::create_dir(&out_path).unwrap_or_else(|_| { - panic!( - "Couldn't create output directory for bindings: {}", - out_path.display() - ) - }); + "GraphicsDevice" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + bindings = bindings.header(r_headers_to_path["GraphicsEngine"]); + } + "Connections" => { + bindings = bindings.header(r_headers_to_path["Rinternals"]); + } + "GetX11Image" => { + bindings = bindings.header(r_headers_to_path["Boolean"]); + } + _ => {} } + bindings = bindings.header(r_header); - let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); - let out_file = out_path.join(bindings_file_full); + let bindings = bindings + .generate() + // Unwrap the Result and panic on failure. + .expect("Unable to generate bindings"); + let binding_name = format!("bindings-{r_header_name}-{target_os}-{target_arch}.rs"); bindings - .write_to_file(&out_file) - .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); - } else { - println!( - "cargo:warning=Couldn't write the bindings since `LIBRSYS_BINDINGS_OUTPUT_PATH` is not set." - ); + .write_to_file(out_path.join(binding_name)) + .expect("Couldn't write bindings to default output path!"); } + + // // Also write the bindings to a folder specified by `LIBRSYS_BINDINGS_OUTPUT_PATH`, if defined + // if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { + // let out_path = PathBuf::from(alt_target); + // // if folder doesn't exist, try to create it + // if !out_path.exists() { + // fs::create_dir(&out_path).unwrap_or_else(|_| { + // panic!( + // "Couldn't create output directory for bindings: {}", + // out_path.display() + // ) + // }); + // } + + // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); + // let out_file = out_path.join(bindings_file_full); + + // bindings + // .write_to_file(&out_file) + // .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); + // } else { + // println!( + // "cargo:warning=Couldn't write the bindings since `LIBRSYS_BINDINGS_OUTPUT_PATH` is not set." + // ); + // } } #[cfg(not(feature = "use-bindgen"))] From c3855215b65381a9bc11eaddb4dae7264b45c9f2 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 12:43:27 +0200 Subject: [PATCH 04/50] wp: complex should only be replaced in one place.. I think. --- .ignore | 1 + build.rs | 72 +++++++++++++++++++++++++++---------------------- mini_Rcomplex.h | 11 ++++++++ mini_wrapper.h | 11 -------- 4 files changed, 52 insertions(+), 43 deletions(-) create mode 100644 .ignore create mode 100644 mini_Rcomplex.h diff --git a/.ignore b/.ignore new file mode 100644 index 00000000..ded7aea3 --- /dev/null +++ b/.ignore @@ -0,0 +1 @@ +bindings/*.rs diff --git a/build.rs b/build.rs index 8ab6915c..17a0fe53 100644 --- a/build.rs +++ b/build.rs @@ -534,11 +534,20 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .files; dbg!(&r_headers); - // name to path - let r_headers_to_path = r_headers.iter().map(|r_header_path| - (Path::new(r_header_path).file_stem().unwrap().to_str().unwrap(), - r_header_path) - ).collect::>(); + // name to path + let r_headers_to_path = r_headers + .iter() + .map(|r_header_path| { + ( + Path::new(r_header_path) + .file_stem() + .unwrap() + .to_str() + .unwrap(), + r_header_path, + ) + }) + .collect::>(); // Write the bindings to the $OUT_DIR/bindings.rs file. let out_path = PathBuf::from(env::var_os("OUT_DIR").unwrap()); @@ -549,7 +558,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let mut bindings = bindgen_builder.clone(); match r_header_name { r"Complex" => { - // bindings = bindings.header("wrapper_head_Rcomplex.h"); + bindings = bindings.header("mini_Rcomplex.h"); } "Parse" => { bindings = bindings.header(r_headers_to_path["Rinternals"]); @@ -583,34 +592,33 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let binding_name = format!("bindings-{r_header_name}-{target_os}-{target_arch}.rs"); bindings - .write_to_file(out_path.join(binding_name)) + .write_to_file(out_path.join(&binding_name)) .expect("Couldn't write bindings to default output path!"); - } - // // Also write the bindings to a folder specified by `LIBRSYS_BINDINGS_OUTPUT_PATH`, if defined - // if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { - // let out_path = PathBuf::from(alt_target); - // // if folder doesn't exist, try to create it - // if !out_path.exists() { - // fs::create_dir(&out_path).unwrap_or_else(|_| { - // panic!( - // "Couldn't create output directory for bindings: {}", - // out_path.display() - // ) - // }); - // } - - // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); - // let out_file = out_path.join(bindings_file_full); - - // bindings - // .write_to_file(&out_file) - // .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); - // } else { - // println!( - // "cargo:warning=Couldn't write the bindings since `LIBRSYS_BINDINGS_OUTPUT_PATH` is not set." - // ); - // } + if let Some(alt_target) = env::var_os(ENVVAR_BINDINGS_OUTPUT_PATH) { + let out_path = PathBuf::from(alt_target); + // if folder doesn't exist, try to create it + if !out_path.exists() { + fs::create_dir(&out_path).unwrap_or_else(|_| { + panic!( + "Couldn't create output directory for bindings: {}", + out_path.display() + ) + }); + } + + // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); + let out_file = out_path.join(&binding_name); + + bindings + .write_to_file(&out_file) + .unwrap_or_else(|_| panic!("Couldn't write bindings: {}", out_file.display())); + } else { + println!( + "cargo:warning=Couldn't write the bindings since `LIBRSYS_BINDINGS_OUTPUT_PATH` is not set." + ); + } + } } #[cfg(not(feature = "use-bindgen"))] diff --git a/mini_Rcomplex.h b/mini_Rcomplex.h new file mode 100644 index 00000000..0aeaf203 --- /dev/null +++ b/mini_Rcomplex.h @@ -0,0 +1,11 @@ + +// R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran. +// But the old definition is compatible both the union version +// and the struct version. +// See: +///
+typedef struct +{ + double r; + double i; +} R_complex_impl; diff --git a/mini_wrapper.h b/mini_wrapper.h index 40d254e0..d6c10d3c 100644 --- a/mini_wrapper.h +++ b/mini_wrapper.h @@ -25,14 +25,3 @@ typedef ptrdiff_t R_xlen_t_rust; // #else // extern uintptr_t R_CStackLimit; /* C stack limit */ // #endif - -// R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran. -// But the old definition is compatible both the union version -// and the struct version. -// See: -///
-typedef struct -{ - double r; - double i; -} R_complex_impl; From 1e6276fbe9703993cccea6b11152cb954b8109ac Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 12:48:55 +0200 Subject: [PATCH 05/50] wp: deleted the old cached bindings, in favour of these atomic ones. --- bindings/bindings-Altrep-macos-aarch64.rs | 1485 +++++ bindings/bindings-Applic-macos-aarch64.rs | 243 + bindings/bindings-Arith-macos-aarch64.rs | 24 + bindings/bindings-BLAS-macos-aarch64.rs | 82 + bindings/bindings-Boolean-macos-aarch64.rs | 16 + bindings/bindings-Callbacks-macos-aarch64.rs | 1322 +++++ bindings/bindings-Complex-macos-aarch64.rs | 15 + .../bindings-Connections-macos-aarch64.rs | 1337 +++++ bindings/bindings-Constants-macos-aarch64.rs | 9 + bindings/bindings-Error-macos-aarch64.rs | 21 + .../bindings-GetX11Image-macos-aarch64.rs | 25 + ... bindings-GraphicsDevice-macos-aarch64.rs} | 5138 +++++++--------- ... bindings-GraphicsEngine-macos-aarch64.rs} | 5149 +++++++---------- bindings/bindings-Itermacros-macos-aarch64.rs | 9 + bindings/bindings-Lapack-macos-aarch64.rs | 89 + bindings/bindings-Linpack-macos-aarch64.rs | 27 + .../bindings-MathThreads-macos-aarch64.rs | 12 + bindings/bindings-Memory-macos-aarch64.rs | 32 + bindings/bindings-Parse-macos-aarch64.rs | 1258 ++++ bindings/bindings-Print-macos-aarch64.rs | 16 + bindings/bindings-PrtUtil-macos-aarch64.rs | 1285 ++++ .../bindings-QuartzDevice-macos-aarch64.rs | 239 + bindings/bindings-R-macos-aarch64.rs | 270 + bindings/bindings-RS-macos-aarch64.rs | 27 + bindings/bindings-RStartup-macos-aarch64.rs | 181 + .../bindings-Rallocators-macos-aarch64.rs | 27 + bindings/bindings-Random-macos-aarch64.rs | 62 + bindings/bindings-Rconfig-macos-aarch64.rs | 18 + bindings/bindings-Rdefines-macos-aarch64.rs | 1252 ++++ bindings/bindings-Rdynload-macos-aarch64.rs | 91 + bindings/bindings-Rembedded-macos-aarch64.rs | 27 + bindings/bindings-Riconv-macos-aarch64.rs | 22 + bindings/bindings-Rinterface-macos-aarch64.rs | 82 + bindings/bindings-Rinternals-macos-aarch64.rs | 1242 ++++ bindings/bindings-Rmath-macos-aarch64.rs | 518 ++ bindings/bindings-Rversion-macos-aarch64.rs | 17 + bindings/bindings-Utils-macos-aarch64.rs | 156 + bindings/bindings-Visibility-macos-aarch64.rs | 18 + bindings/bindings-eventloop-macos-aarch64.rs | 34 + bindings/bindings-libextern-macos-aarch64.rs | 8 + bindings/bindings-libintl-macos-aarch64.rs | 57 + bindings/bindings-linux-aarch64-R4.2.rs | 3211 ---------- bindings/bindings-linux-aarch64-R4.3.rs | 3243 ----------- bindings/bindings-linux-aarch64-R4.4-devel.rs | 3231 ----------- bindings/bindings-linux-aarch64-R4.4.rs | 3246 ----------- bindings/bindings-linux-aarch64-R4.5-devel.rs | 3235 ----------- bindings/bindings-linux-aarch64.rs | 1 - bindings/bindings-linux-x86_64-R4.2.rs | 3220 ----------- bindings/bindings-linux-x86_64-R4.3.rs | 3252 ----------- bindings/bindings-linux-x86_64-R4.4-devel.rs | 3240 ----------- bindings/bindings-linux-x86_64-R4.4.rs | 3255 ----------- bindings/bindings-linux-x86_64-R4.5-devel.rs | 3244 ----------- bindings/bindings-linux-x86_64.rs | 1 - bindings/bindings-macos-aarch64-R4.2.rs | 3262 ----------- bindings/bindings-macos-aarch64-R4.3.rs | 3293 ----------- bindings/bindings-macos-aarch64-R4.4.rs | 3296 ----------- bindings/bindings-macos-aarch64-R4.5-devel.rs | 3285 ----------- bindings/bindings-macos-aarch64.rs | 1 - bindings/bindings-macos-x86_64-R4.2.rs | 3270 ----------- bindings/bindings-macos-x86_64-R4.3.rs | 3334 ----------- bindings/bindings-macos-x86_64-R4.4-devel.rs | 3290 ----------- bindings/bindings-macos-x86_64-R4.4.rs | 3304 ----------- bindings/bindings-macos-x86_64-R4.5-devel.rs | 3323 ----------- bindings/bindings-macos-x86_64.rs | 1 - .../bindings-stats_package-macos-aarch64.rs | 128 + .../bindings-stats_stubs-macos-aarch64.rs | 1350 +++++ bindings/bindings-windows-x86_64-R4.2.rs | 3009 ---------- bindings/bindings-windows-x86_64-R4.3.rs | 3041 ---------- .../bindings-windows-x86_64-R4.4-devel.rs | 3030 ---------- bindings/bindings-windows-x86_64.rs | 1 - 70 files changed, 17345 insertions(+), 77194 deletions(-) create mode 100644 bindings/bindings-Altrep-macos-aarch64.rs create mode 100644 bindings/bindings-Applic-macos-aarch64.rs create mode 100644 bindings/bindings-Arith-macos-aarch64.rs create mode 100644 bindings/bindings-BLAS-macos-aarch64.rs create mode 100644 bindings/bindings-Boolean-macos-aarch64.rs create mode 100644 bindings/bindings-Callbacks-macos-aarch64.rs create mode 100644 bindings/bindings-Complex-macos-aarch64.rs create mode 100644 bindings/bindings-Connections-macos-aarch64.rs create mode 100644 bindings/bindings-Constants-macos-aarch64.rs create mode 100644 bindings/bindings-Error-macos-aarch64.rs create mode 100644 bindings/bindings-GetX11Image-macos-aarch64.rs rename bindings/{bindings-windows-x86_64-R4.5-devel.rs => bindings-GraphicsDevice-macos-aarch64.rs} (68%) rename bindings/{bindings-windows-x86_64-R4.4.rs => bindings-GraphicsEngine-macos-aarch64.rs} (68%) create mode 100644 bindings/bindings-Itermacros-macos-aarch64.rs create mode 100644 bindings/bindings-Lapack-macos-aarch64.rs create mode 100644 bindings/bindings-Linpack-macos-aarch64.rs create mode 100644 bindings/bindings-MathThreads-macos-aarch64.rs create mode 100644 bindings/bindings-Memory-macos-aarch64.rs create mode 100644 bindings/bindings-Parse-macos-aarch64.rs create mode 100644 bindings/bindings-Print-macos-aarch64.rs create mode 100644 bindings/bindings-PrtUtil-macos-aarch64.rs create mode 100644 bindings/bindings-QuartzDevice-macos-aarch64.rs create mode 100644 bindings/bindings-R-macos-aarch64.rs create mode 100644 bindings/bindings-RS-macos-aarch64.rs create mode 100644 bindings/bindings-RStartup-macos-aarch64.rs create mode 100644 bindings/bindings-Rallocators-macos-aarch64.rs create mode 100644 bindings/bindings-Random-macos-aarch64.rs create mode 100644 bindings/bindings-Rconfig-macos-aarch64.rs create mode 100644 bindings/bindings-Rdefines-macos-aarch64.rs create mode 100644 bindings/bindings-Rdynload-macos-aarch64.rs create mode 100644 bindings/bindings-Rembedded-macos-aarch64.rs create mode 100644 bindings/bindings-Riconv-macos-aarch64.rs create mode 100644 bindings/bindings-Rinterface-macos-aarch64.rs create mode 100644 bindings/bindings-Rinternals-macos-aarch64.rs create mode 100644 bindings/bindings-Rmath-macos-aarch64.rs create mode 100644 bindings/bindings-Rversion-macos-aarch64.rs create mode 100644 bindings/bindings-Utils-macos-aarch64.rs create mode 100644 bindings/bindings-Visibility-macos-aarch64.rs create mode 100644 bindings/bindings-eventloop-macos-aarch64.rs create mode 100644 bindings/bindings-libextern-macos-aarch64.rs create mode 100644 bindings/bindings-libintl-macos-aarch64.rs delete mode 100644 bindings/bindings-linux-aarch64-R4.2.rs delete mode 100644 bindings/bindings-linux-aarch64-R4.3.rs delete mode 100644 bindings/bindings-linux-aarch64-R4.4-devel.rs delete mode 100644 bindings/bindings-linux-aarch64-R4.4.rs delete mode 100644 bindings/bindings-linux-aarch64-R4.5-devel.rs delete mode 120000 bindings/bindings-linux-aarch64.rs delete mode 100644 bindings/bindings-linux-x86_64-R4.2.rs delete mode 100644 bindings/bindings-linux-x86_64-R4.3.rs delete mode 100644 bindings/bindings-linux-x86_64-R4.4-devel.rs delete mode 100644 bindings/bindings-linux-x86_64-R4.4.rs delete mode 100644 bindings/bindings-linux-x86_64-R4.5-devel.rs delete mode 120000 bindings/bindings-linux-x86_64.rs delete mode 100644 bindings/bindings-macos-aarch64-R4.2.rs delete mode 100644 bindings/bindings-macos-aarch64-R4.3.rs delete mode 100644 bindings/bindings-macos-aarch64-R4.4.rs delete mode 100644 bindings/bindings-macos-aarch64-R4.5-devel.rs delete mode 120000 bindings/bindings-macos-aarch64.rs delete mode 100644 bindings/bindings-macos-x86_64-R4.2.rs delete mode 100644 bindings/bindings-macos-x86_64-R4.3.rs delete mode 100644 bindings/bindings-macos-x86_64-R4.4-devel.rs delete mode 100644 bindings/bindings-macos-x86_64-R4.4.rs delete mode 100644 bindings/bindings-macos-x86_64-R4.5-devel.rs delete mode 120000 bindings/bindings-macos-x86_64.rs create mode 100644 bindings/bindings-stats_package-macos-aarch64.rs create mode 100644 bindings/bindings-stats_stubs-macos-aarch64.rs delete mode 100644 bindings/bindings-windows-x86_64-R4.2.rs delete mode 100644 bindings/bindings-windows-x86_64-R4.3.rs delete mode 100644 bindings/bindings-windows-x86_64-R4.4-devel.rs delete mode 120000 bindings/bindings-windows-x86_64.rs diff --git a/bindings/bindings-Altrep-macos-aarch64.rs b/bindings/bindings-Altrep-macos-aarch64.rs new file mode 100644 index 00000000..6100197b --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64.rs @@ -0,0 +1,1485 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Applic-macos-aarch64.rs b/bindings/bindings-Applic-macos-aarch64.rs new file mode 100644 index 00000000..ad95084a --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64.rs @@ -0,0 +1,243 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Arith-macos-aarch64.rs b/bindings/bindings-Arith-macos-aarch64.rs new file mode 100644 index 00000000..ba5ea32e --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-BLAS-macos-aarch64.rs b/bindings/bindings-BLAS-macos-aarch64.rs new file mode 100644 index 00000000..49c80661 --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64.rs @@ -0,0 +1,82 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-Boolean-macos-aarch64.rs b/bindings/bindings-Boolean-macos-aarch64.rs new file mode 100644 index 00000000..db7f9dc1 --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64.rs b/bindings/bindings-Callbacks-macos-aarch64.rs new file mode 100644 index 00000000..924d5a02 --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64.rs @@ -0,0 +1,1322 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/bindings/bindings-Complex-macos-aarch64.rs b/bindings/bindings-Complex-macos-aarch64.rs new file mode 100644 index 00000000..111275cb --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Connections-macos-aarch64.rs b/bindings/bindings-Connections-macos-aarch64.rs new file mode 100644 index 00000000..bdbcc651 --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64.rs @@ -0,0 +1,1337 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/bindings/bindings-Constants-macos-aarch64.rs b/bindings/bindings-Constants-macos-aarch64.rs new file mode 100644 index 00000000..8d6bbbe7 --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Error-macos-aarch64.rs b/bindings/bindings-Error-macos-aarch64.rs new file mode 100644 index 00000000..f00005d8 --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64.rs @@ -0,0 +1,21 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64.rs b/bindings/bindings-GetX11Image-macos-aarch64.rs new file mode 100644 index 00000000..d1ade1d4 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-macos-aarch64.rs similarity index 68% rename from bindings/bindings-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-GraphicsDevice-macos-aarch64.rs index 0abda463..e1c5cf5d 100644 --- a/bindings/bindings-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsDevice-macos-aarch64.rs @@ -1,3033 +1,2107 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.5.0-devel */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"10\0"; -pub const R_SVN_REVISION: u32 = 86529; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-macos-aarch64.rs similarity index 68% rename from bindings/bindings-windows-x86_64-R4.4.rs rename to bindings/bindings-GraphicsEngine-macos-aarch64.rs index bd4828dc..e1c5cf5d 100644 --- a/bindings/bindings-windows-x86_64-R4.4.rs +++ b/bindings/bindings-GraphicsEngine-macos-aarch64.rs @@ -1,3044 +1,2107 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-Itermacros-macos-aarch64.rs b/bindings/bindings-Itermacros-macos-aarch64.rs new file mode 100644 index 00000000..1b49fcd9 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Lapack-macos-aarch64.rs b/bindings/bindings-Lapack-macos-aarch64.rs new file mode 100644 index 00000000..75ca9b9d --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64.rs @@ -0,0 +1,89 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-Linpack-macos-aarch64.rs b/bindings/bindings-Linpack-macos-aarch64.rs new file mode 100644 index 00000000..82b97ddc --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-MathThreads-macos-aarch64.rs b/bindings/bindings-MathThreads-macos-aarch64.rs new file mode 100644 index 00000000..435f70bc --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Memory-macos-aarch64.rs b/bindings/bindings-Memory-macos-aarch64.rs new file mode 100644 index 00000000..ac36377e --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Parse-macos-aarch64.rs b/bindings/bindings-Parse-macos-aarch64.rs new file mode 100644 index 00000000..05e0b7ce --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64.rs @@ -0,0 +1,1258 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Print-macos-aarch64.rs b/bindings/bindings-Print-macos-aarch64.rs new file mode 100644 index 00000000..7c2f7584 --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64.rs b/bindings/bindings-PrtUtil-macos-aarch64.rs new file mode 100644 index 00000000..776565a7 --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64.rs @@ -0,0 +1,1285 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64.rs b/bindings/bindings-QuartzDevice-macos-aarch64.rs new file mode 100644 index 00000000..1d6dc981 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-R-macos-aarch64.rs b/bindings/bindings-R-macos-aarch64.rs new file mode 100644 index 00000000..36efe72a --- /dev/null +++ b/bindings/bindings-R-macos-aarch64.rs @@ -0,0 +1,270 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-RS-macos-aarch64.rs b/bindings/bindings-RS-macos-aarch64.rs new file mode 100644 index 00000000..82b97ddc --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RStartup-macos-aarch64.rs b/bindings/bindings-RStartup-macos-aarch64.rs new file mode 100644 index 00000000..6e760b05 --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64.rs @@ -0,0 +1,181 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-Rallocators-macos-aarch64.rs b/bindings/bindings-Rallocators-macos-aarch64.rs new file mode 100644 index 00000000..393d099b --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Random-macos-aarch64.rs b/bindings/bindings-Random-macos-aarch64.rs new file mode 100644 index 00000000..ef86c262 --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64.rs @@ -0,0 +1,62 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Rconfig-macos-aarch64.rs b/bindings/bindings-Rconfig-macos-aarch64.rs new file mode 100644 index 00000000..bf6a67d6 --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rdefines-macos-aarch64.rs b/bindings/bindings-Rdefines-macos-aarch64.rs new file mode 100644 index 00000000..75310ecd --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64.rs @@ -0,0 +1,1252 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/bindings/bindings-Rdynload-macos-aarch64.rs b/bindings/bindings-Rdynload-macos-aarch64.rs new file mode 100644 index 00000000..3a73835d --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64.rs @@ -0,0 +1,91 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rembedded-macos-aarch64.rs b/bindings/bindings-Rembedded-macos-aarch64.rs new file mode 100644 index 00000000..ff7c68f4 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/bindings/bindings-Riconv-macos-aarch64.rs b/bindings/bindings-Riconv-macos-aarch64.rs new file mode 100644 index 00000000..808647de --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Rinterface-macos-aarch64.rs b/bindings/bindings-Rinterface-macos-aarch64.rs new file mode 100644 index 00000000..dee191de --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64.rs @@ -0,0 +1,82 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64.rs b/bindings/bindings-Rinternals-macos-aarch64.rs new file mode 100644 index 00000000..0d91c9a5 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64.rs @@ -0,0 +1,1242 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/bindings/bindings-Rmath-macos-aarch64.rs b/bindings/bindings-Rmath-macos-aarch64.rs new file mode 100644 index 00000000..85d626eb --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64.rs @@ -0,0 +1,518 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rversion-macos-aarch64.rs b/bindings/bindings-Rversion-macos-aarch64.rs new file mode 100644 index 00000000..108ac414 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"05\0"; +pub const R_DAY: &[u8; 3] = b"04\0"; +pub const R_SVN_REVISION: u32 = 86521; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Utils-macos-aarch64.rs b/bindings/bindings-Utils-macos-aarch64.rs new file mode 100644 index 00000000..63199ddf --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64.rs @@ -0,0 +1,156 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Visibility-macos-aarch64.rs b/bindings/bindings-Visibility-macos-aarch64.rs new file mode 100644 index 00000000..bf6a67d6 --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-eventloop-macos-aarch64.rs b/bindings/bindings-eventloop-macos-aarch64.rs new file mode 100644 index 00000000..490eba9c --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-libextern-macos-aarch64.rs b/bindings/bindings-libextern-macos-aarch64.rs new file mode 100644 index 00000000..62998645 --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libintl-macos-aarch64.rs b/bindings/bindings-libintl-macos-aarch64.rs new file mode 100644 index 00000000..a091d34b --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-linux-aarch64-R4.2.rs b/bindings/bindings-linux-aarch64-R4.2.rs deleted file mode 100644 index 3d8efc62..00000000 --- a/bindings/bindings-linux-aarch64-R4.2.rs +++ /dev/null @@ -1,3211 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.3.rs b/bindings/bindings-linux-aarch64-R4.3.rs deleted file mode 100644 index 7bf2283c..00000000 --- a/bindings/bindings-linux-aarch64-R4.3.rs +++ /dev/null @@ -1,3243 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.4-devel.rs b/bindings/bindings-linux-aarch64-R4.4-devel.rs deleted file mode 100644 index 7f0b1a5a..00000000 --- a/bindings/bindings-linux-aarch64-R4.4-devel.rs +++ /dev/null @@ -1,3231 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"16\0"; -pub const R_SVN_REVISION: u32 = 85542; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.4.rs b/bindings/bindings-linux-aarch64-R4.4.rs deleted file mode 100644 index 84c6ed27..00000000 --- a/bindings/bindings-linux-aarch64-R4.4.rs +++ /dev/null @@ -1,3246 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64-R4.5-devel.rs b/bindings/bindings-linux-aarch64-R4.5-devel.rs deleted file mode 100644 index 26fa35f1..00000000 --- a/bindings/bindings-linux-aarch64-R4.5-devel.rs +++ /dev/null @@ -1,3235 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-aarch64.rs b/bindings/bindings-linux-aarch64.rs deleted file mode 120000 index e3de9a56..00000000 --- a/bindings/bindings-linux-aarch64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-linux-aarch64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-linux-x86_64-R4.2.rs b/bindings/bindings-linux-x86_64-R4.2.rs deleted file mode 100644 index 44fd5bf4..00000000 --- a/bindings/bindings-linux-x86_64-R4.2.rs +++ /dev/null @@ -1,3220 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.3.rs b/bindings/bindings-linux-x86_64-R4.3.rs deleted file mode 100644 index 14114fb9..00000000 --- a/bindings/bindings-linux-x86_64-R4.3.rs +++ /dev/null @@ -1,3252 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.4-devel.rs b/bindings/bindings-linux-x86_64-R4.4-devel.rs deleted file mode 100644 index b96ea43f..00000000 --- a/bindings/bindings-linux-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3240 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* clang-rs version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"16\0"; -pub const R_SVN_REVISION: u32 = 85542; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.4.rs b/bindings/bindings-linux-x86_64-R4.4.rs deleted file mode 100644 index a22ebc9a..00000000 --- a/bindings/bindings-linux-x86_64-R4.4.rs +++ /dev/null @@ -1,3255 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64-R4.5-devel.rs b/bindings/bindings-linux-x86_64-R4.5-devel.rs deleted file mode 100644 index 29bd14aa..00000000 --- a/bindings/bindings-linux-x86_64-R4.5-devel.rs +++ /dev/null @@ -1,3244 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_2 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-linux-x86_64.rs b/bindings/bindings-linux-x86_64.rs deleted file mode 120000 index d98ff10c..00000000 --- a/bindings/bindings-linux-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-linux-x86_64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-macos-aarch64-R4.2.rs b/bindings/bindings-macos-aarch64-R4.2.rs deleted file mode 100644 index b6f7c14b..00000000 --- a/bindings/bindings-macos-aarch64-R4.2.rs +++ /dev/null @@ -1,3262 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distibution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distibution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distibution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.3.rs b/bindings/bindings-macos-aarch64-R4.3.rs deleted file mode 100644 index 8589198c..00000000 --- a/bindings/bindings-macos-aarch64-R4.3.rs +++ /dev/null @@ -1,3293 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.4.rs b/bindings/bindings-macos-aarch64-R4.4.rs deleted file mode 100644 index cd066d21..00000000 --- a/bindings/bindings-macos-aarch64-R4.4.rs +++ /dev/null @@ -1,3296 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64-R4.5-devel.rs b/bindings/bindings-macos-aarch64-R4.5-devel.rs deleted file mode 100644 index a2c4eb8e..00000000 --- a/bindings/bindings-macos-aarch64-R4.5-devel.rs +++ /dev/null @@ -1,3285 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"04\0"; -pub const R_SVN_REVISION: u32 = 86521; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-aarch64.rs b/bindings/bindings-macos-aarch64.rs deleted file mode 120000 index b60d66d3..00000000 --- a/bindings/bindings-macos-aarch64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-macos-aarch64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-macos-x86_64-R4.2.rs b/bindings/bindings-macos-x86_64-R4.2.rs deleted file mode 100644 index cd69236a..00000000 --- a/bindings/bindings-macos-x86_64-R4.2.rs +++ /dev/null @@ -1,3270 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.2.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distibution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distibution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distibution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.3.rs b/bindings/bindings-macos-x86_64-R4.3.rs deleted file mode 100644 index 7432e383..00000000 --- a/bindings/bindings-macos-x86_64-R4.3.rs +++ /dev/null @@ -1,3334 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.4-devel.rs b/bindings/bindings-macos-x86_64-R4.4-devel.rs deleted file mode 100644 index 494018cd..00000000 --- a/bindings/bindings-macos-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3290 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: Homebrew clang version 17.0.3 */ -/* clang-rs version: Homebrew clang version 17.0.3 */ -/* r version: 4.4.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"11\0"; -pub const R_SVN_REVISION: u32 = 85510; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.4.rs b/bindings/bindings-macos-x86_64-R4.4.rs deleted file mode 100644 index ded7417d..00000000 --- a/bindings/bindings-macos-x86_64-R4.4.rs +++ /dev/null @@ -1,3304 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* r version: 4.4.0 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64-R4.5-devel.rs b/bindings/bindings-macos-x86_64-R4.5-devel.rs deleted file mode 100644 index 2db5d2d5..00000000 --- a/bindings/bindings-macos-x86_64-R4.5-devel.rs +++ /dev/null @@ -1,3323 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ -/* clang-rs version: Homebrew clang version 17.0.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const RSTART_VERSION: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"20\0"; -pub const R_SVN_REVISION: u32 = 86457; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "this group is not API\n*\nattribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n*/"] - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - pub fn R_FlushConsole(); - pub fn Rf_onintr(); - pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn CleanEd(); - pub fn R_CleanTempDir(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-macos-x86_64.rs b/bindings/bindings-macos-x86_64.rs deleted file mode 120000 index d61a6428..00000000 --- a/bindings/bindings-macos-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-macos-x86_64-R4.4.rs \ No newline at end of file diff --git a/bindings/bindings-stats_package-macos-aarch64.rs b/bindings/bindings-stats_package-macos-aarch64.rs new file mode 100644 index 00000000..0ea6ffdc --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64.rs @@ -0,0 +1,128 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-aarch64.rs b/bindings/bindings-stats_stubs-macos-aarch64.rs new file mode 100644 index 00000000..7fef0b57 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64.rs @@ -0,0 +1,1350 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-windows-x86_64-R4.2.rs b/bindings/bindings-windows-x86_64-R4.2.rs deleted file mode 100644 index 7b73cd06..00000000 --- a/bindings/bindings-windows-x86_64-R4.2.rs +++ /dev/null @@ -1,3009 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* clang-rs version: clang version 16.0.6 */ -/* r version: 4.2.3 */ - -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262659; -pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"2.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"03\0"; -pub const R_DAY: &[u8; 3] = b"15\0"; -pub const R_SVN_REVISION: u32 = 83980; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_version: u32 = 15; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[non_exhaustive] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node creaed in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[non_exhaustive] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -#[repr(u32)] -#[non_exhaustive] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[non_exhaustive] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[non_exhaustive] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[non_exhaustive] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.3.rs b/bindings/bindings-windows-x86_64-R4.3.rs deleted file mode 100644 index ff9fe19b..00000000 --- a/bindings/bindings-windows-x86_64-R4.3.rs +++ /dev/null @@ -1,3041 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.3.3 */ - -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64-R4.4-devel.rs b/bindings/bindings-windows-x86_64-R4.4-devel.rs deleted file mode 100644 index 3a0985f2..00000000 --- a/bindings/bindings-windows-x86_64-R4.4-devel.rs +++ /dev/null @@ -1,3030 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.1 */ - -/* libR-sys version: 0.6.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* clang-rs version: clang version 16.0.6 */ -/* r version: 4.4.0-devel */ - -pub const INT_MIN: i32 = -2147483648; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const NILSXP: u32 = 0; -pub const SYMSXP: u32 = 1; -pub const LISTSXP: u32 = 2; -pub const CLOSXP: u32 = 3; -pub const ENVSXP: u32 = 4; -pub const PROMSXP: u32 = 5; -pub const LANGSXP: u32 = 6; -pub const SPECIALSXP: u32 = 7; -pub const BUILTINSXP: u32 = 8; -pub const CHARSXP: u32 = 9; -pub const LGLSXP: u32 = 10; -pub const INTSXP: u32 = 13; -pub const REALSXP: u32 = 14; -pub const CPLXSXP: u32 = 15; -pub const STRSXP: u32 = 16; -pub const DOTSXP: u32 = 17; -pub const ANYSXP: u32 = 18; -pub const VECSXP: u32 = 19; -pub const EXPRSXP: u32 = 20; -pub const BCODESXP: u32 = 21; -pub const EXTPTRSXP: u32 = 22; -pub const WEAKREFSXP: u32 = 23; -pub const RAWSXP: u32 = 24; -pub const OBJSXP: u32 = 25; -pub const S4SXP: u32 = 25; -pub const NEWSXP: u32 = 30; -pub const FREESXP: u32 = 31; -pub const FUNSXP: u32 = 99; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2023\0"; -pub const R_MONTH: &[u8; 3] = b"11\0"; -pub const R_DAY: &[u8; 3] = b"17\0"; -pub const R_SVN_REVISION: u32 = 85550; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[doc = "NOT YET using enum:\n 1)\tThe internal SEXPREC struct has 'SEXPTYPE type : 5'\n\t(making FUNSXP and CLOSXP equivalent in there),\n\tgiving (-Wall only ?) warnings all over the place\n 2)\tMany switch(type) { case ... } statements need a final `default:'\n\tadded in order to avoid warnings like \\[e.g. l.170 of ../main/util.c\\]\n\t \"enumeration value `FUNSXP' not handled in switch\""] -pub type SEXPTYPE = ::std::os::raw::c_uint; -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn TYPEOF(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_isS4(arg1: SEXP) -> Rboolean; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_PromiseExpr(arg1: SEXP) -> SEXP; - pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_S4_OBJECT(x: SEXP); - pub fn UNSET_S4_OBJECT(x: SEXP); - pub fn R_curErrorBuf() -> *const ::std::os::raw::c_char; - pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_psmatch( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - arg3: Rboolean, - ) -> Rboolean; - pub fn SETLENGTH(x: SEXP, v: R_xlen_t); - pub fn SET_TRUELENGTH(x: SEXP, v: R_xlen_t); - pub fn SETLEVELS(x: SEXP, v: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn SET_ENVFLAGS(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FRAME(x: SEXP, v: SEXP); - pub fn SET_ENCLOS(x: SEXP, v: SEXP); - pub fn SET_HASHTAB(x: SEXP, v: SEXP); - pub fn SET_PRENV(x: SEXP, v: SEXP); - pub fn SET_PRVALUE(x: SEXP, v: SEXP); - pub fn SET_PRCODE(x: SEXP, v: SEXP); - pub fn STDVEC_DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn IS_GROWABLE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn SET_NAMED(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by BIOC::matter; mightbe reasonable to include in API"] - pub fn R_tryWrap(arg1: SEXP) -> SEXP; - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/bindings/bindings-windows-x86_64.rs b/bindings/bindings-windows-x86_64.rs deleted file mode 120000 index 1d2f2ebb..00000000 --- a/bindings/bindings-windows-x86_64.rs +++ /dev/null @@ -1 +0,0 @@ -./bindings-windows-x86_64-R4.4.rs \ No newline at end of file From ada483e94d9daeed9556b95256321ae61f8dd79c Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 12:58:59 +0200 Subject: [PATCH 06/50] wp: removed items from other headers (nice!) --- bindings/bindings-Altrep-macos-aarch64.rs | 1171 ------------ bindings/bindings-Applic-macos-aarch64.rs | 25 - bindings/bindings-BLAS-macos-aarch64.rs | 74 - bindings/bindings-Callbacks-macos-aarch64.rs | 1173 ------------ .../bindings-Connections-macos-aarch64.rs | 1173 ------------ bindings/bindings-Error-macos-aarch64.rs | 4 - .../bindings-GetX11Image-macos-aarch64.rs | 8 - .../bindings-GraphicsDevice-macos-aarch64.rs | 1693 ----------------- .../bindings-GraphicsEngine-macos-aarch64.rs | 1515 --------------- bindings/bindings-Lapack-macos-aarch64.rs | 74 - bindings/bindings-Linpack-macos-aarch64.rs | 19 - bindings/bindings-Parse-macos-aarch64.rs | 1170 ------------ bindings/bindings-PrtUtil-macos-aarch64.rs | 1170 ------------ bindings/bindings-R-macos-aarch64.rs | 253 --- bindings/bindings-RS-macos-aarch64.rs | 10 - bindings/bindings-RStartup-macos-aarch64.rs | 9 - bindings/bindings-Random-macos-aarch64.rs | 8 - bindings/bindings-Rdefines-macos-aarch64.rs | 1179 ------------ bindings/bindings-Rdynload-macos-aarch64.rs | 8 - bindings/bindings-Rembedded-macos-aarch64.rs | 8 - bindings/bindings-Rinterface-macos-aarch64.rs | 8 - bindings/bindings-Rinternals-macos-aarch64.rs | 274 --- bindings/bindings-Rmath-macos-aarch64.rs | 8 - bindings/bindings-Utils-macos-aarch64.rs | 63 - bindings/bindings-Visibility-macos-aarch64.rs | 10 - .../bindings-stats_package-macos-aarch64.rs | 10 - .../bindings-stats_stubs-macos-aarch64.rs | 1253 +----------- build.rs | 10 + 28 files changed, 20 insertions(+), 12360 deletions(-) diff --git a/bindings/bindings-Altrep-macos-aarch64.rs b/bindings/bindings-Altrep-macos-aarch64.rs index 6100197b..21a9e94b 100644 --- a/bindings/bindings-Altrep-macos-aarch64.rs +++ b/bindings/bindings-Altrep-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -146,234 +67,7 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -501,871 +195,6 @@ pub type R_altlist_Set_elt_method_t = ::std::option::Option; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/bindings/bindings-Applic-macos-aarch64.rs b/bindings/bindings-Applic-macos-aarch64.rs index ad95084a..c4d4699f 100644 --- a/bindings/bindings-Applic-macos-aarch64.rs +++ b/bindings/bindings-Applic-macos-aarch64.rs @@ -4,26 +4,8 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), @@ -64,13 +46,6 @@ pub type d2fcn_p = ::std::option::Option< ), >; extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] pub fn Rdqags( f: integr_fn, diff --git a/bindings/bindings-BLAS-macos-aarch64.rs b/bindings/bindings-BLAS-macos-aarch64.rs index 49c80661..62998645 100644 --- a/bindings/bindings-BLAS-macos-aarch64.rs +++ b/bindings/bindings-BLAS-macos-aarch64.rs @@ -4,79 +4,5 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} diff --git a/bindings/bindings-Callbacks-macos-aarch64.rs b/bindings/bindings-Callbacks-macos-aarch64.rs index 924d5a02..9c33690f 100644 --- a/bindings/bindings-Callbacks-macos-aarch64.rs +++ b/bindings/bindings-Callbacks-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -146,232 +67,6 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -437,7 +132,6 @@ pub type Rdb_canCache = ::std::option::Option< pub type Rdb_onDetach = ::std::option::Option; pub type Rdb_onAttach = ::std::option::Option; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _R_ObjectTable { pub type_: ::std::os::raw::c_int, pub cachedNames: *mut *mut ::std::os::raw::c_char, @@ -453,870 +147,3 @@ pub struct _R_ObjectTable { pub privateData: *mut ::std::os::raw::c_void, } pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/bindings/bindings-Connections-macos-aarch64.rs b/bindings/bindings-Connections-macos-aarch64.rs index bdbcc651..36351d17 100644 --- a/bindings/bindings-Connections-macos-aarch64.rs +++ b/bindings/bindings-Connections-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; @@ -147,235 +68,8 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type Rconnection = *mut Rconn; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct Rconn { pub class: *mut ::std::os::raw::c_char, pub description: *mut ::std::os::raw::c_char, @@ -468,870 +162,3 @@ pub struct Rconn { pub buff_pos: usize, } pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/bindings/bindings-Error-macos-aarch64.rs b/bindings/bindings-Error-macos-aarch64.rs index f00005d8..e2cc3e12 100644 --- a/bindings/bindings-Error-macos-aarch64.rs +++ b/bindings/bindings-Error-macos-aarch64.rs @@ -9,10 +9,6 @@ pub type R_xlen_t = isize; pub type va_list = __builtin_va_list; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/bindings/bindings-GetX11Image-macos-aarch64.rs b/bindings/bindings-GetX11Image-macos-aarch64.rs index d1ade1d4..f33d95b6 100644 --- a/bindings/bindings-GetX11Image-macos-aarch64.rs +++ b/bindings/bindings-GetX11Image-macos-aarch64.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { #[doc = "used by package tkrplot"] pub fn R_GetX11Image( diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64.rs b/bindings/bindings-GraphicsDevice-macos-aarch64.rs index e1c5cf5d..faf5e682 100644 --- a/bindings/bindings-GraphicsDevice-macos-aarch64.rs +++ b/bindings/bindings-GraphicsDevice-macos-aarch64.rs @@ -4,155 +4,10 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -216,319 +71,10 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -820,914 +366,8 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] @@ -1771,337 +411,4 @@ extern "C" { ) -> *const ::std::os::raw::c_char; #[doc = "Translates Unicode point to UTF-8"] pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); } diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64.rs b/bindings/bindings-GraphicsEngine-macos-aarch64.rs index e1c5cf5d..092ee108 100644 --- a/bindings/bindings-GraphicsEngine-macos-aarch64.rs +++ b/bindings/bindings-GraphicsEngine-macos-aarch64.rs @@ -4,95 +4,12 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; pub const R_GE_glyphs: u32 = 16; pub const R_GE_version: u32 = 16; pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; pub const LTY_BLANK: i32 = -1; pub const LTY_SOLID: u32 = 0; pub const LTY_DASHED: u32 = 68; @@ -217,232 +134,6 @@ pub struct __sFILE { } pub type FILE = __sFILE; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum GEUnit { @@ -492,7 +183,6 @@ pub enum R_GE_linejoin { } #[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_GE_gcontext { #[doc = "pen colour (lines, text, borders, ...)"] pub col: ::std::os::raw::c_int, @@ -524,302 +214,6 @@ pub struct R_GE_gcontext { pub patternFill: SEXP, } pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, @@ -833,7 +227,6 @@ pub struct GESystemDesc { pub callback: GEcallback, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _GEDevDesc { #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] pub dev: pDevDesc, @@ -861,916 +254,8 @@ pub type pGEDevDesc = *mut GEDevDesc; pub type rcolor = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; diff --git a/bindings/bindings-Lapack-macos-aarch64.rs b/bindings/bindings-Lapack-macos-aarch64.rs index 75ca9b9d..22f85c4e 100644 --- a/bindings/bindings-Lapack-macos-aarch64.rs +++ b/bindings/bindings-Lapack-macos-aarch64.rs @@ -4,73 +4,8 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type L_fp = ::std::option::Option< unsafe extern "C" fn( arg1: *mut f64, @@ -78,12 +13,3 @@ pub type L_fp = ::std::option::Option< arg3: *mut f64, ) -> *mut ::std::os::raw::c_int, >; -extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} diff --git a/bindings/bindings-Linpack-macos-aarch64.rs b/bindings/bindings-Linpack-macos-aarch64.rs index 82b97ddc..62998645 100644 --- a/bindings/bindings-Linpack-macos-aarch64.rs +++ b/bindings/bindings-Linpack-macos-aarch64.rs @@ -4,24 +4,5 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} diff --git a/bindings/bindings-Parse-macos-aarch64.rs b/bindings/bindings-Parse-macos-aarch64.rs index 05e0b7ce..6c7c7935 100644 --- a/bindings/bindings-Parse-macos-aarch64.rs +++ b/bindings/bindings-Parse-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -147,232 +68,6 @@ pub struct __sFILE { } pub type FILE = __sFILE; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum ParseStatus { @@ -384,871 +79,6 @@ pub enum ParseStatus { } pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/bindings/bindings-PrtUtil-macos-aarch64.rs b/bindings/bindings-PrtUtil-macos-aarch64.rs index 776565a7..a6f49841 100644 --- a/bindings/bindings-PrtUtil-macos-aarch64.rs +++ b/bindings/bindings-PrtUtil-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -146,1099 +67,8 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatRealS( diff --git a/bindings/bindings-R-macos-aarch64.rs b/bindings/bindings-R-macos-aarch64.rs index 36efe72a..1a70be28 100644 --- a/bindings/bindings-R-macos-aarch64.rs +++ b/bindings/bindings-R-macos-aarch64.rs @@ -4,266 +4,13 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __darwin_va_list = __builtin_va_list; pub type va_list = __darwin_va_list; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] pub fn R_ProcessEvents(); diff --git a/bindings/bindings-RS-macos-aarch64.rs b/bindings/bindings-RS-macos-aarch64.rs index 82b97ddc..09e1fa69 100644 --- a/bindings/bindings-RS-macos-aarch64.rs +++ b/bindings/bindings-RS-macos-aarch64.rs @@ -4,16 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { diff --git a/bindings/bindings-RStartup-macos-aarch64.rs b/bindings/bindings-RStartup-macos-aarch64.rs index 6e760b05..c76401d1 100644 --- a/bindings/bindings-RStartup-macos-aarch64.rs +++ b/bindings/bindings-RStartup-macos-aarch64.rs @@ -88,14 +88,6 @@ pub const RSTART_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] #[doc = "Startup Actions"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum SA_TYPE { @@ -110,7 +102,6 @@ pub enum SA_TYPE { SA_SUICIDE = 6, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct structRstart { pub R_Quiet: Rboolean, pub R_NoEcho: Rboolean, diff --git a/bindings/bindings-Random-macos-aarch64.rs b/bindings/bindings-Random-macos-aarch64.rs index ef86c262..cbed1fbd 100644 --- a/bindings/bindings-Random-macos-aarch64.rs +++ b/bindings/bindings-Random-macos-aarch64.rs @@ -8,14 +8,6 @@ pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum RNGtype { WICHMANN_HILL = 0, MARSAGLIA_MULTICARRY = 1, diff --git a/bindings/bindings-Rdefines-macos-aarch64.rs b/bindings/bindings-Rdefines-macos-aarch64.rs index 75310ecd..ada51b3d 100644 --- a/bindings/bindings-Rdefines-macos-aarch64.rs +++ b/bindings/bindings-Rdefines-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -148,1105 +69,5 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type s_object = SEXPREC; pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/bindings/bindings-Rdynload-macos-aarch64.rs b/bindings/bindings-Rdynload-macos-aarch64.rs index 3a73835d..e031d62c 100644 --- a/bindings/bindings-Rdynload-macos-aarch64.rs +++ b/bindings/bindings-Rdynload-macos-aarch64.rs @@ -7,14 +7,6 @@ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; diff --git a/bindings/bindings-Rembedded-macos-aarch64.rs b/bindings/bindings-Rembedded-macos-aarch64.rs index ff7c68f4..9377330a 100644 --- a/bindings/bindings-Rembedded-macos-aarch64.rs +++ b/bindings/bindings-Rembedded-macos-aarch64.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); pub fn Rf_initialize_R( diff --git a/bindings/bindings-Rinterface-macos-aarch64.rs b/bindings/bindings-Rinterface-macos-aarch64.rs index dee191de..f978677f 100644 --- a/bindings/bindings-Rinterface-macos-aarch64.rs +++ b/bindings/bindings-Rinterface-macos-aarch64.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type __int64_t = ::std::os::raw::c_longlong; pub type __darwin_off_t = __int64_t; pub type fpos_t = __darwin_off_t; diff --git a/bindings/bindings-Rinternals-macos-aarch64.rs b/bindings/bindings-Rinternals-macos-aarch64.rs index 0d91c9a5..bf32b08a 100644 --- a/bindings/bindings-Rinternals-macos-aarch64.rs +++ b/bindings/bindings-Rinternals-macos-aarch64.rs @@ -4,67 +4,7 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; @@ -146,63 +86,6 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -374,163 +257,6 @@ pub struct R_hashtab_type { } pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] pub fn Rf_isNull(s: SEXP) -> Rboolean; diff --git a/bindings/bindings-Rmath-macos-aarch64.rs b/bindings/bindings-Rmath-macos-aarch64.rs index 85d626eb..5d920942 100644 --- a/bindings/bindings-Rmath-macos-aarch64.rs +++ b/bindings/bindings-Rmath-macos-aarch64.rs @@ -21,14 +21,6 @@ pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { #[doc = "R's versions with !R_FINITE checks"] pub fn R_pow(x: f64, y: f64) -> f64; diff --git a/bindings/bindings-Utils-macos-aarch64.rs b/bindings/bindings-Utils-macos-aarch64.rs index 63199ddf..f6b7f7c4 100644 --- a/bindings/bindings-Utils-macos-aarch64.rs +++ b/bindings/bindings-Utils-macos-aarch64.rs @@ -4,71 +4,8 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { #[doc = "../../main/sort.c :"] pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); diff --git a/bindings/bindings-Visibility-macos-aarch64.rs b/bindings/bindings-Visibility-macos-aarch64.rs index bf6a67d6..62998645 100644 --- a/bindings/bindings-Visibility-macos-aarch64.rs +++ b/bindings/bindings-Visibility-macos-aarch64.rs @@ -4,15 +4,5 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_package-macos-aarch64.rs b/bindings/bindings-stats_package-macos-aarch64.rs index 0ea6ffdc..4d3f3f8f 100644 --- a/bindings/bindings-stats_package-macos-aarch64.rs +++ b/bindings/bindings-stats_package-macos-aarch64.rs @@ -4,16 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] diff --git a/bindings/bindings-stats_stubs-macos-aarch64.rs b/bindings/bindings-stats_stubs-macos-aarch64.rs index 7fef0b57..d1166cf4 100644 --- a/bindings/bindings-stats_stubs-macos-aarch64.rs +++ b/bindings/bindings-stats_stubs-macos-aarch64.rs @@ -4,85 +4,6 @@ /* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const HAVE_AQUA: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_ALLOCA_H: u32 = 1; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; @@ -146,1162 +67,8 @@ pub struct __sFILE { pub _offset: fpos_t, } pub type FILE = __sFILE; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut f64; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn S_Rf_divset( alg: ::std::os::raw::c_int, iv: *mut ::std::os::raw::c_int, @@ -1309,31 +76,31 @@ extern "C" { lv: ::std::os::raw::c_int, v: *mut f64, ); - pub fn S_nlsb_iterate( + pub fn S_nlminb_iterate( b: *mut f64, d: *mut f64, - dr: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, v: *mut f64, x: *mut f64, ); - pub fn S_nlminb_iterate( + pub fn S_nlsb_iterate( b: *mut f64, d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, + dr: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, v: *mut f64, x: *mut f64, ); diff --git a/build.rs b/build.rs index 17a0fe53..87142772 100644 --- a/build.rs +++ b/build.rs @@ -585,6 +585,16 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { } bindings = bindings.header(r_header); + // block all the other r-headers + for other_r_header in &r_headers { + if other_r_header == r_header { + // don't block current header being processed + continue; + } + // println!("blocking_the_rest: {}", &r_header); + bindings = bindings.blocklist_file(other_r_header); + } + let bindings = bindings .generate() // Unwrap the Result and panic on failure. From 4268564aa48541fac19f77177f1c907ce8d468e5 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 13:00:45 +0200 Subject: [PATCH 07/50] wp: keep fortran items _now_ that they don't cross pollute (keep it as a commit for now, maybe this is a bad idea) --- bindings/bindings-Applic-macos-aarch64.rs | 54 + bindings/bindings-BLAS-macos-aarch64.rs | 814 +++ bindings/bindings-Lapack-macos-aarch64.rs | 6130 ++++++++++++++++++++ bindings/bindings-Linpack-macos-aarch64.rs | 322 + build.rs | 2 +- 5 files changed, 7321 insertions(+), 1 deletion(-) diff --git a/bindings/bindings-Applic-macos-aarch64.rs b/bindings/bindings-Applic-macos-aarch64.rs index c4d4699f..28440c96 100644 --- a/bindings/bindings-Applic-macos-aarch64.rs +++ b/bindings/bindings-Applic-macos-aarch64.rs @@ -174,6 +174,34 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] pub fn R_pretty( lo: *mut f64, @@ -215,4 +243,30 @@ extern "C" { wrk: *mut f64, itncnt: *mut ::std::os::raw::c_int, ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); } diff --git a/bindings/bindings-BLAS-macos-aarch64.rs b/bindings/bindings-BLAS-macos-aarch64.rs index 62998645..55ed7df4 100644 --- a/bindings/bindings-BLAS-macos-aarch64.rs +++ b/bindings/bindings-BLAS-macos-aarch64.rs @@ -6,3 +6,817 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64.rs b/bindings/bindings-Lapack-macos-aarch64.rs index 22f85c4e..2b97249a 100644 --- a/bindings/bindings-Lapack-macos-aarch64.rs +++ b/bindings/bindings-Lapack-macos-aarch64.rs @@ -13,3 +13,6133 @@ pub type L_fp = ::std::option::Option< arg3: *mut f64, ) -> *mut ::std::os::raw::c_int, >; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64.rs b/bindings/bindings-Linpack-macos-aarch64.rs index 62998645..fa23e216 100644 --- a/bindings/bindings-Linpack-macos-aarch64.rs +++ b/bindings/bindings-Linpack-macos-aarch64.rs @@ -6,3 +6,325 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/build.rs b/build.rs index 87142772..669f15af 100644 --- a/build.rs +++ b/build.rs @@ -496,7 +496,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let bindgen_builder = bindgen_builder.blocklist_item("VECTOR_PTR"); // Remove all Fortran items, these are items with underscore _ postfix - let bindgen_builder = bindgen_builder.blocklist_item("[A-Za-z_][A-Za-z0-9_]*[^_]_$"); + // let bindgen_builder = bindgen_builder.blocklist_item("[A-Za-z_][A-Za-z0-9_]*[^_]_$"); // Ensure that `SEXPREC` is opaque to Rust let bindgen_builder = bindgen_builder.blocklist_item("SEXPREC"); From b3f459d5dfcc76ab166e47f810637fae965f3552 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 13:08:03 +0200 Subject: [PATCH 08/50] wp: test is its own module --- src/lib.rs | 99 +--------------------------------------------------- src/tests.rs | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 98 deletions(-) create mode 100644 src/tests.rs diff --git a/src/lib.rs b/src/lib.rs index 5c5a116a..1eed1980 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,101 +125,4 @@ impl From for Rboolean { } #[cfg(test)] -mod tests { - use super::*; - use std::os::raw; - - // Generate constant static strings. - // Much more efficient than CString. - // Generates asciiz. - macro_rules! cstr { - ($s: expr) => { - concat!($s, "\0").as_ptr() as *const raw::c_char - }; - } - - // Generate mutable static strings. - // Much more efficient than CString. - // Generates asciiz. - macro_rules! cstr_mut { - ($s: expr) => { - concat!($s, "\0").as_ptr() as *mut raw::c_char - }; - } - - // Thanks to @qinwf and @scottmmjackson for showing the way here. - fn start_R() { - unsafe { - if std::env::var("R_HOME").is_err() { - // env! gets the build-time R_HOME made in build.rs - std::env::set_var("R_HOME", env!("R_HOME")); - } - - // Due to Rf_initEmbeddedR using __libc_stack_end - // We can't call Rf_initEmbeddedR. - // Instead we must follow rustr's example and call the parts. - - //let res = unsafe { Rf_initEmbeddedR(1, args.as_mut_ptr()) }; - if cfg!(target_os = "windows") && cfg!(target_arch = "x86") { - Rf_initialize_R( - 4, - [ - cstr_mut!("R"), - cstr_mut!("--arch=i386"), - cstr_mut!("--slave"), - cstr_mut!("--no-save"), - ] - .as_mut_ptr(), - ); - } else { - Rf_initialize_R( - 3, - [cstr_mut!("R"), cstr_mut!("--slave"), cstr_mut!("--no-save")].as_mut_ptr(), - ); - } - - // In case you are curious. - // Maybe 8MB is a bit small. - // eprintln!("R_CStackLimit={:016x}", R_CStackLimit); - - if cfg!(not(target_os = "windows")) { - R_CStackLimit = usize::max_value(); - } - - setup_Rmainloop(); - } - } - - // Run some R code. Check the result. - #[test] - fn test_eval() { - start_R(); - unsafe { - let val = Rf_protect(R_ParseEvalString(cstr!("1"), R_NilValue)); - Rf_PrintValue(val); - assert_eq!(TYPEOF(val), SEXPTYPE::REALSXP); - assert_eq!(*REAL(val), 1.); - Rf_unprotect(1); - } - // There is one pathological example of `Rf_is*` where `TRUE` is not 1, - // but 16. We show here that the casting is done as intended - unsafe { - let sexp = R_ParseEvalString(cstr!(r#"new("factor")"#), R_GlobalEnv); - Rf_protect(sexp); - Rf_PrintValue(sexp); - - assert_eq!( - std::mem::discriminant(&Rf_isS4(sexp)), - std::mem::discriminant(&Rboolean::TRUE), - ); - assert!(>::into(Rf_isS4(sexp))); - assert!( - (Rboolean::FALSE == Rf_isS4(sexp)) || (Rboolean::TRUE == Rf_isS4(sexp)), - "PartialEq implementation is broken" - ); - assert!(Rboolean::TRUE == Rf_isS4(sexp)); - assert_eq!(Rf_isS4(sexp), Rboolean::TRUE); - Rf_unprotect(1); - } - } -} +mod tests; diff --git a/src/tests.rs b/src/tests.rs new file mode 100644 index 00000000..8cd9e8c8 --- /dev/null +++ b/src/tests.rs @@ -0,0 +1,96 @@ +use super::*; +use std::os::raw; + +// Generate constant static strings. +// Much more efficient than CString. +// Generates asciiz. +macro_rules! cstr { + ($s: expr) => { + concat!($s, "\0").as_ptr() as *const raw::c_char + }; +} + +// Generate mutable static strings. +// Much more efficient than CString. +// Generates asciiz. +macro_rules! cstr_mut { + ($s: expr) => { + concat!($s, "\0").as_ptr() as *mut raw::c_char + }; +} + +// Thanks to @qinwf and @scottmmjackson for showing the way here. +fn start_R() { + unsafe { + if std::env::var("R_HOME").is_err() { + // env! gets the build-time R_HOME made in build.rs + std::env::set_var("R_HOME", env!("R_HOME")); + } + + // Due to Rf_initEmbeddedR using __libc_stack_end + // We can't call Rf_initEmbeddedR. + // Instead we must follow rustr's example and call the parts. + + //let res = unsafe { Rf_initEmbeddedR(1, args.as_mut_ptr()) }; + if cfg!(target_os = "windows") && cfg!(target_arch = "x86") { + Rf_initialize_R( + 4, + [ + cstr_mut!("R"), + cstr_mut!("--arch=i386"), + cstr_mut!("--slave"), + cstr_mut!("--no-save"), + ] + .as_mut_ptr(), + ); + } else { + Rf_initialize_R( + 3, + [cstr_mut!("R"), cstr_mut!("--slave"), cstr_mut!("--no-save")].as_mut_ptr(), + ); + } + + // In case you are curious. + // Maybe 8MB is a bit small. + // eprintln!("R_CStackLimit={:016x}", R_CStackLimit); + + if cfg!(not(target_os = "windows")) { + R_CStackLimit = usize::max_value(); + } + + setup_Rmainloop(); + } +} + +// Run some R code. Check the result. +#[test] +fn test_eval() { + start_R(); + unsafe { + let val = Rf_protect(R_ParseEvalString(cstr!("1"), R_NilValue)); + Rf_PrintValue(val); + assert_eq!(TYPEOF(val), SEXPTYPE::REALSXP); + assert_eq!(*REAL(val), 1.); + Rf_unprotect(1); + } + // There is one pathological example of `Rf_is*` where `TRUE` is not 1, + // but 16. We show here that the casting is done as intended + unsafe { + let sexp = R_ParseEvalString(cstr!(r#"new("factor")"#), R_GlobalEnv); + Rf_protect(sexp); + Rf_PrintValue(sexp); + + assert_eq!( + std::mem::discriminant(&Rf_isS4(sexp)), + std::mem::discriminant(&Rboolean::TRUE), + ); + assert!(>::into(Rf_isS4(sexp))); + assert!( + (Rboolean::FALSE == Rf_isS4(sexp)) || (Rboolean::TRUE == Rf_isS4(sexp)), + "PartialEq implementation is broken" + ); + assert!(Rboolean::TRUE == Rf_isS4(sexp)); + assert_eq!(Rf_isS4(sexp), Rboolean::TRUE); + Rf_unprotect(1); + } +} From eac683015cc3cd400522060f94501f1efcacded1 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 13:43:38 +0200 Subject: [PATCH 09/50] wp: moved generated bindings.. --- {bindings => src/bindings}/bindings-Altrep-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Applic-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Arith-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-BLAS-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Boolean-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Callbacks-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Complex-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Connections-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Constants-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Error-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-GetX11Image-macos-aarch64.rs | 0 .../bindings}/bindings-GraphicsDevice-macos-aarch64.rs | 0 .../bindings}/bindings-GraphicsEngine-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Itermacros-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Lapack-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Linpack-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-MathThreads-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Memory-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Parse-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Print-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-PrtUtil-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-QuartzDevice-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-R-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-RS-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-RStartup-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rallocators-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Random-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rconfig-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rdefines-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rdynload-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rembedded-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Riconv-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rinterface-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rinternals-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rmath-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Rversion-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Utils-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-Visibility-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-eventloop-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-libextern-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-libintl-macos-aarch64.rs | 0 .../bindings}/bindings-stats_package-macos-aarch64.rs | 0 {bindings => src/bindings}/bindings-stats_stubs-macos-aarch64.rs | 0 43 files changed, 0 insertions(+), 0 deletions(-) rename {bindings => src/bindings}/bindings-Altrep-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Applic-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Arith-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-BLAS-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Boolean-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Callbacks-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Complex-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Connections-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Constants-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Error-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-GetX11Image-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-GraphicsDevice-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-GraphicsEngine-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Itermacros-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Lapack-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Linpack-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-MathThreads-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Memory-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Parse-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Print-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-PrtUtil-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-QuartzDevice-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-R-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-RS-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-RStartup-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rallocators-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Random-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rconfig-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rdefines-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rdynload-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rembedded-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Riconv-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rinterface-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rinternals-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rmath-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Rversion-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Utils-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-Visibility-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-eventloop-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-libextern-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-libintl-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-stats_package-macos-aarch64.rs (100%) rename {bindings => src/bindings}/bindings-stats_stubs-macos-aarch64.rs (100%) diff --git a/bindings/bindings-Altrep-macos-aarch64.rs b/src/bindings/bindings-Altrep-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Altrep-macos-aarch64.rs rename to src/bindings/bindings-Altrep-macos-aarch64.rs diff --git a/bindings/bindings-Applic-macos-aarch64.rs b/src/bindings/bindings-Applic-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Applic-macos-aarch64.rs rename to src/bindings/bindings-Applic-macos-aarch64.rs diff --git a/bindings/bindings-Arith-macos-aarch64.rs b/src/bindings/bindings-Arith-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Arith-macos-aarch64.rs rename to src/bindings/bindings-Arith-macos-aarch64.rs diff --git a/bindings/bindings-BLAS-macos-aarch64.rs b/src/bindings/bindings-BLAS-macos-aarch64.rs similarity index 100% rename from bindings/bindings-BLAS-macos-aarch64.rs rename to src/bindings/bindings-BLAS-macos-aarch64.rs diff --git a/bindings/bindings-Boolean-macos-aarch64.rs b/src/bindings/bindings-Boolean-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Boolean-macos-aarch64.rs rename to src/bindings/bindings-Boolean-macos-aarch64.rs diff --git a/bindings/bindings-Callbacks-macos-aarch64.rs b/src/bindings/bindings-Callbacks-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Callbacks-macos-aarch64.rs rename to src/bindings/bindings-Callbacks-macos-aarch64.rs diff --git a/bindings/bindings-Complex-macos-aarch64.rs b/src/bindings/bindings-Complex-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Complex-macos-aarch64.rs rename to src/bindings/bindings-Complex-macos-aarch64.rs diff --git a/bindings/bindings-Connections-macos-aarch64.rs b/src/bindings/bindings-Connections-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Connections-macos-aarch64.rs rename to src/bindings/bindings-Connections-macos-aarch64.rs diff --git a/bindings/bindings-Constants-macos-aarch64.rs b/src/bindings/bindings-Constants-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Constants-macos-aarch64.rs rename to src/bindings/bindings-Constants-macos-aarch64.rs diff --git a/bindings/bindings-Error-macos-aarch64.rs b/src/bindings/bindings-Error-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Error-macos-aarch64.rs rename to src/bindings/bindings-Error-macos-aarch64.rs diff --git a/bindings/bindings-GetX11Image-macos-aarch64.rs b/src/bindings/bindings-GetX11Image-macos-aarch64.rs similarity index 100% rename from bindings/bindings-GetX11Image-macos-aarch64.rs rename to src/bindings/bindings-GetX11Image-macos-aarch64.rs diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64.rs similarity index 100% rename from bindings/bindings-GraphicsDevice-macos-aarch64.rs rename to src/bindings/bindings-GraphicsDevice-macos-aarch64.rs diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64.rs similarity index 100% rename from bindings/bindings-GraphicsEngine-macos-aarch64.rs rename to src/bindings/bindings-GraphicsEngine-macos-aarch64.rs diff --git a/bindings/bindings-Itermacros-macos-aarch64.rs b/src/bindings/bindings-Itermacros-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Itermacros-macos-aarch64.rs rename to src/bindings/bindings-Itermacros-macos-aarch64.rs diff --git a/bindings/bindings-Lapack-macos-aarch64.rs b/src/bindings/bindings-Lapack-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Lapack-macos-aarch64.rs rename to src/bindings/bindings-Lapack-macos-aarch64.rs diff --git a/bindings/bindings-Linpack-macos-aarch64.rs b/src/bindings/bindings-Linpack-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Linpack-macos-aarch64.rs rename to src/bindings/bindings-Linpack-macos-aarch64.rs diff --git a/bindings/bindings-MathThreads-macos-aarch64.rs b/src/bindings/bindings-MathThreads-macos-aarch64.rs similarity index 100% rename from bindings/bindings-MathThreads-macos-aarch64.rs rename to src/bindings/bindings-MathThreads-macos-aarch64.rs diff --git a/bindings/bindings-Memory-macos-aarch64.rs b/src/bindings/bindings-Memory-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Memory-macos-aarch64.rs rename to src/bindings/bindings-Memory-macos-aarch64.rs diff --git a/bindings/bindings-Parse-macos-aarch64.rs b/src/bindings/bindings-Parse-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Parse-macos-aarch64.rs rename to src/bindings/bindings-Parse-macos-aarch64.rs diff --git a/bindings/bindings-Print-macos-aarch64.rs b/src/bindings/bindings-Print-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Print-macos-aarch64.rs rename to src/bindings/bindings-Print-macos-aarch64.rs diff --git a/bindings/bindings-PrtUtil-macos-aarch64.rs b/src/bindings/bindings-PrtUtil-macos-aarch64.rs similarity index 100% rename from bindings/bindings-PrtUtil-macos-aarch64.rs rename to src/bindings/bindings-PrtUtil-macos-aarch64.rs diff --git a/bindings/bindings-QuartzDevice-macos-aarch64.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64.rs similarity index 100% rename from bindings/bindings-QuartzDevice-macos-aarch64.rs rename to src/bindings/bindings-QuartzDevice-macos-aarch64.rs diff --git a/bindings/bindings-R-macos-aarch64.rs b/src/bindings/bindings-R-macos-aarch64.rs similarity index 100% rename from bindings/bindings-R-macos-aarch64.rs rename to src/bindings/bindings-R-macos-aarch64.rs diff --git a/bindings/bindings-RS-macos-aarch64.rs b/src/bindings/bindings-RS-macos-aarch64.rs similarity index 100% rename from bindings/bindings-RS-macos-aarch64.rs rename to src/bindings/bindings-RS-macos-aarch64.rs diff --git a/bindings/bindings-RStartup-macos-aarch64.rs b/src/bindings/bindings-RStartup-macos-aarch64.rs similarity index 100% rename from bindings/bindings-RStartup-macos-aarch64.rs rename to src/bindings/bindings-RStartup-macos-aarch64.rs diff --git a/bindings/bindings-Rallocators-macos-aarch64.rs b/src/bindings/bindings-Rallocators-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rallocators-macos-aarch64.rs rename to src/bindings/bindings-Rallocators-macos-aarch64.rs diff --git a/bindings/bindings-Random-macos-aarch64.rs b/src/bindings/bindings-Random-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Random-macos-aarch64.rs rename to src/bindings/bindings-Random-macos-aarch64.rs diff --git a/bindings/bindings-Rconfig-macos-aarch64.rs b/src/bindings/bindings-Rconfig-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rconfig-macos-aarch64.rs rename to src/bindings/bindings-Rconfig-macos-aarch64.rs diff --git a/bindings/bindings-Rdefines-macos-aarch64.rs b/src/bindings/bindings-Rdefines-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rdefines-macos-aarch64.rs rename to src/bindings/bindings-Rdefines-macos-aarch64.rs diff --git a/bindings/bindings-Rdynload-macos-aarch64.rs b/src/bindings/bindings-Rdynload-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rdynload-macos-aarch64.rs rename to src/bindings/bindings-Rdynload-macos-aarch64.rs diff --git a/bindings/bindings-Rembedded-macos-aarch64.rs b/src/bindings/bindings-Rembedded-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rembedded-macos-aarch64.rs rename to src/bindings/bindings-Rembedded-macos-aarch64.rs diff --git a/bindings/bindings-Riconv-macos-aarch64.rs b/src/bindings/bindings-Riconv-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Riconv-macos-aarch64.rs rename to src/bindings/bindings-Riconv-macos-aarch64.rs diff --git a/bindings/bindings-Rinterface-macos-aarch64.rs b/src/bindings/bindings-Rinterface-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rinterface-macos-aarch64.rs rename to src/bindings/bindings-Rinterface-macos-aarch64.rs diff --git a/bindings/bindings-Rinternals-macos-aarch64.rs b/src/bindings/bindings-Rinternals-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rinternals-macos-aarch64.rs rename to src/bindings/bindings-Rinternals-macos-aarch64.rs diff --git a/bindings/bindings-Rmath-macos-aarch64.rs b/src/bindings/bindings-Rmath-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rmath-macos-aarch64.rs rename to src/bindings/bindings-Rmath-macos-aarch64.rs diff --git a/bindings/bindings-Rversion-macos-aarch64.rs b/src/bindings/bindings-Rversion-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Rversion-macos-aarch64.rs rename to src/bindings/bindings-Rversion-macos-aarch64.rs diff --git a/bindings/bindings-Utils-macos-aarch64.rs b/src/bindings/bindings-Utils-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Utils-macos-aarch64.rs rename to src/bindings/bindings-Utils-macos-aarch64.rs diff --git a/bindings/bindings-Visibility-macos-aarch64.rs b/src/bindings/bindings-Visibility-macos-aarch64.rs similarity index 100% rename from bindings/bindings-Visibility-macos-aarch64.rs rename to src/bindings/bindings-Visibility-macos-aarch64.rs diff --git a/bindings/bindings-eventloop-macos-aarch64.rs b/src/bindings/bindings-eventloop-macos-aarch64.rs similarity index 100% rename from bindings/bindings-eventloop-macos-aarch64.rs rename to src/bindings/bindings-eventloop-macos-aarch64.rs diff --git a/bindings/bindings-libextern-macos-aarch64.rs b/src/bindings/bindings-libextern-macos-aarch64.rs similarity index 100% rename from bindings/bindings-libextern-macos-aarch64.rs rename to src/bindings/bindings-libextern-macos-aarch64.rs diff --git a/bindings/bindings-libintl-macos-aarch64.rs b/src/bindings/bindings-libintl-macos-aarch64.rs similarity index 100% rename from bindings/bindings-libintl-macos-aarch64.rs rename to src/bindings/bindings-libintl-macos-aarch64.rs diff --git a/bindings/bindings-stats_package-macos-aarch64.rs b/src/bindings/bindings-stats_package-macos-aarch64.rs similarity index 100% rename from bindings/bindings-stats_package-macos-aarch64.rs rename to src/bindings/bindings-stats_package-macos-aarch64.rs diff --git a/bindings/bindings-stats_stubs-macos-aarch64.rs b/src/bindings/bindings-stats_stubs-macos-aarch64.rs similarity index 100% rename from bindings/bindings-stats_stubs-macos-aarch64.rs rename to src/bindings/bindings-stats_stubs-macos-aarch64.rs From 0dbfb7e6f75f0a4dea50c6c4c5b43d87c8a79869 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 14:05:13 +0200 Subject: [PATCH 10/50] wp: this _compiles_ atleast --- README.md | 2 +- build.rs | 64 +++++++++---------- src/lib.rs | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 207 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index a638bf96..1c5f5615 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The bindings can be generated using [`bindgen`](https://github.com/rust-lang/rus `bindgen` requires [`libclang`](https://clang.llvm.org/docs/Tooling.html), which should be installed first. This library relies on `LIBCLANG_PATH` environment variable to determine path to the appropriate version of `libclang`. -The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_PATH` environment variable, thus make sure it is set to e.g `bindings`. +The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_PATH` environment variable, thus make sure it is set to e.g `src/bindings`. - **Linux** diff --git a/build.rs b/build.rs index 669f15af..27866903 100644 --- a/build.rs +++ b/build.rs @@ -634,38 +634,38 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { #[cfg(not(feature = "use-bindgen"))] /// Retrieve bindings from cache, if available. Errors out otherwise. fn retrieve_prebuild_bindings(version_info: &RVersionInfo) { - let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap(); - let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap(); - let bindings_path = PathBuf::from( - env::var_os(ENVVAR_BINDINGS_PATH).unwrap_or_else(|| OsString::from("bindings")), - ); - - // we try a few different file names, from more specific to less specific - let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); - let bindings_file_novers = PathBuf::from(format!("bindings-{target_os}-{target_arch}.rs")); - - let mut from = bindings_path.join(bindings_file_full); - if !from.exists() { - from = bindings_path.join(bindings_file_novers); - if !from.exists() { - panic!( - "Cannot find libR-sys bindings file for R {}.{}.{}{} on {} in {}. Consider compiling with --features use-bindgen.", - version_info.major, version_info.minor, version_info.patch, version_info.devel, target_os, bindings_path.display() - ) - } else { - println!( - "cargo:warning=using generic {}-{} libR-sys bindings. These may not work for R {}.{}.{}{}.", - target_os, target_arch, version_info.major, version_info.minor, version_info.patch, version_info.devel - ); - } - } - - fs::copy( - &from, - PathBuf::from(env::var_os("OUT_DIR").unwrap()).join("bindings.rs"), - ) - .expect("No precomputed bindings available!"); - println!("cargo:rerun-if-changed={}", from.display()); + // let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap(); + // let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap(); + // let bindings_path = PathBuf::from( + // env::var_os(ENVVAR_BINDINGS_PATH).unwrap_or_else(|| OsString::from("src/bindings")), + // ); + + // // we try a few different file names, from more specific to less specific + // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); + // let bindings_file_novers = PathBuf::from(format!("bindings-{target_os}-{target_arch}.rs")); + + // let mut from = bindings_path.join(bindings_file_full); + // if !from.exists() { + // from = bindings_path.join(bindings_file_novers); + // if !from.exists() { + // panic!( + // "Cannot find libR-sys bindings file for R {}.{}.{}{} on {} in {}. Consider compiling with --features use-bindgen.", + // version_info.major, version_info.minor, version_info.patch, version_info.devel, target_os, bindings_path.display() + // ) + // } else { + // println!( + // "cargo:warning=using generic {}-{} libR-sys bindings. These may not work for R {}.{}.{}{}.", + // target_os, target_arch, version_info.major, version_info.minor, version_info.patch, version_info.devel + // ); + // } + // } + + // fs::copy( + // &from, + // PathBuf::from(env::var_os("OUT_DIR").unwrap()).join("bindings.rs"), + // ) + // .expect("No precomputed bindings available!"); + // println!("cargo:rerun-if-changed={}", from.display()); } /// Provide extra cleaning of the processed elements in the headers. diff --git a/src/lib.rs b/src/lib.rs index 1eed1980..2bb44b2e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,8 +63,6 @@ #![allow(non_snake_case)] #![allow(improper_ctypes)] -include!(concat!(env!("OUT_DIR"), "/bindings.rs")); - #[non_exhaustive] #[repr(transparent)] #[derive(Debug)] @@ -77,12 +75,11 @@ extern "C" { pub fn TYPEOF(x: SEXP) -> SEXPTYPE; } -#[cfg(feaature = "Altrep")] +#[cfg(feature = "Altrep")] #[allow(non_camel_case_types)] pub type R_altrep_Coerce_method_t = ::std::option::Option SEXP>; - #[cfg(feature = "Boolean")] pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { unsafe { @@ -103,7 +100,6 @@ mod secret { } } - #[cfg(feature = "Boolean")] impl From for bool { fn from(value: Rboolean) -> Self { @@ -124,5 +120,178 @@ impl From for Rboolean { } } +pub mod bindings { + #[cfg(target_os = "macos")] + #[path = "bindings-R-macos-aarch64.rs"] + pub mod r; + + pub mod r_internals { + use super::r_ext::boolean::Rboolean; + use super::r_ext::complex::Rcomplex; + use super::r_ext::r_dynload::DL_FUNC; + use crate::SEXPREC; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rinternals-macos-aarch64.rs"); + } + + #[cfg(target_os = "macos")] + #[path = "bindings-Rmath-macos-aarch64.rs"] + pub mod r_math; + + #[cfg(target_os = "macos")] + #[path = "bindings-Rversion-macos-aarch64.rs"] + pub mod r_version; + + #[cfg(target_os = "windows")] + #[path = "bindings-Rversion-windows-x86_64.rs"] + pub mod r_version; + + #[cfg(target_os = "macos")] + #[path = "bindings-Rinterface-macos-aarch64.rs"] + pub mod r_interface; + + // pub mod r_embedded { + // use super::r_ext::boolean::Rboolean; + + // include!("bindings/Rembedded.rs"); + // } + + #[path = ""] + pub mod r_ext { + // pub mod applic { + // use super::boolean::Rboolean; + // include!("bindings/R_ext/Applic.rs"); + // } + + // pub mod blas { + // use super::complex::Rcomplex; + // include!("bindings/R_ext/BLAS.rs"); + // } + + // // #[path = "Callbacks.rs"] + // pub mod callbacks { + // use super::super::r_internals::SEXP; + // use super::boolean::Rboolean; + + // include!("bindings/R_ext/Callbacks.rs"); + // } + + // //TODO: another platform? + + #[cfg(target_os = "macos")] + // #[cfg(feature = "Boolean")] + pub mod GetX11Image { + use super::boolean::Rboolean; + + include!("bindings/bindings-GetX11Image-macos-aarch64.rs"); + } + + // // #[path ="Lapack.rs"] + // pub mod lapack { + // use super::complex::Rcomplex; + // include!("bindings/R_ext/Lapack.rs"); + // } + + // #[path = "Linpack.rs"] + // pub mod linpack; + + // #[path = "Parse.rs"] + // pub mod parse { + // use super::super::r_internals::SEXP; + // include!("bindings/R_ext/Parse.rs"); + // } + + // pub mod r_startup { + // use super::boolean::Rboolean; + // include!("bindings/R_ext/RStartup.rs"); + // } + + pub mod r_dynload { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rdynload-macos-aarch64.rs"); + } + + // #[path = "Riconv.rs"] + // pub mod r_iconv; + + #[cfg(target_os = "macos")] + #[path = "bindings-Visibility-macos-aarch64.rs"] + pub mod visibility; + + // // TODO: another platform? + // // #[path ="eventloop.rs"] + // // pub mod event_loop; + + #[cfg(target_os = "macos")] + #[path = "bindings-Boolean-macos-aarch64.rs"] + pub mod boolean; + + #[cfg(target_os = "macos")] + #[path = "bindings-Complex-macos-aarch64.rs"] + pub mod complex; + + #[cfg(target_os = "macos")] + #[path = "bindings-Arith-macos-aarch64.rs"] + pub mod arith; + + #[cfg(target_os = "macos")] + #[path = "bindings-Constants-macos-aarch64.rs"] + pub mod constants; + + #[cfg(target_os = "macos")] + #[path = "bindings-Error-macos-aarch64.rs"] + pub mod error; + + #[cfg(target_os = "macos")] + #[path = "bindings-Memory-macos-aarch64.rs"] + pub mod memory; + + #[cfg(target_os = "macos")] + #[path = "bindings-Print-macos-aarch64.rs"] + pub mod print; + + #[cfg(target_os = "macos")] + #[path = "bindings-RS-macos-aarch64.rs"] + pub mod rs; + + #[cfg(target_os = "macos")] + #[path = "bindings-Random-macos-aarch64.rs"] + pub mod random; + + #[path = "Utils.rs"] + pub mod utils { + use super::boolean::Rboolean; + use super::complex::Rcomplex; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Utils-macos-aarch64.rs"); + } + + // //TODO: this is windows specific. + // #[path = "libextern.rs"] + // pub mod libextern; + } + + #[cfg(target_os = "macos")] + #[path = "bindings-Rconfig-macos-aarch64.rs"] + pub mod r_config; + + // pub mod r_prelude { + // pub use super::r_config::*; + // pub use super::r_ext::arith::*; + // pub use super::r_ext::boolean::*; + // pub use super::r_ext::complex::*; + // pub use super::r_ext::constants::*; + // pub use super::r_ext::error::*; + // pub use super::r_ext::libextern::*; + // pub use super::r_ext::memory::*; + // pub use super::r_ext::print::*; + // pub use super::r_ext::random::*; + // pub use super::r_ext::rs::*; + // pub use super::r_ext::utils::*; + // } +} + #[cfg(test)] mod tests; From 42e021d616ac0063535f60c30ae549633910fed1 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 14:21:20 +0200 Subject: [PATCH 11/50] wp: still works! --- src/lib.rs | 172 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 114 insertions(+), 58 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2bb44b2e..8e9f345c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,26 +100,6 @@ mod secret { } } -#[cfg(feature = "Boolean")] -impl From for bool { - fn from(value: Rboolean) -> Self { - match value { - Rboolean::FALSE => false, - Rboolean::TRUE => true, - } - } -} - -#[cfg(feature = "Boolean")] -impl From for Rboolean { - fn from(value: bool) -> Self { - match value { - true => Rboolean::TRUE, - false => Rboolean::FALSE, - } - } -} - pub mod bindings { #[cfg(target_os = "macos")] #[path = "bindings-R-macos-aarch64.rs"] @@ -150,39 +130,39 @@ pub mod bindings { #[path = "bindings-Rinterface-macos-aarch64.rs"] pub mod r_interface; - // pub mod r_embedded { - // use super::r_ext::boolean::Rboolean; + pub mod r_embedded { + use super::r_ext::boolean::Rboolean; - // include!("bindings/Rembedded.rs"); - // } + #[cfg(target_os = "macos")] + include!("bindings/bindings-Rembedded-macos-aarch64.rs"); + } #[path = ""] pub mod r_ext { - // pub mod applic { - // use super::boolean::Rboolean; - // include!("bindings/R_ext/Applic.rs"); - // } - - // pub mod blas { - // use super::complex::Rcomplex; - // include!("bindings/R_ext/BLAS.rs"); - // } - - // // #[path = "Callbacks.rs"] - // pub mod callbacks { - // use super::super::r_internals::SEXP; - // use super::boolean::Rboolean; + pub mod applic { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Applic-macos-aarch64.rs"); + } - // include!("bindings/R_ext/Callbacks.rs"); - // } + pub mod blas { + use super::complex::Rcomplex; + #[cfg(target_os = "macos")] + include!("bindings/bindings-BLAS-macos-aarch64.rs"); + } + + pub mod callbacks { + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; - // //TODO: another platform? + #[cfg(target_os = "macos")] + include!("bindings/bindings-Callbacks-macos-aarch64.rs"); + } - #[cfg(target_os = "macos")] - // #[cfg(feature = "Boolean")] pub mod GetX11Image { use super::boolean::Rboolean; + #[cfg(target_os = "macos")] include!("bindings/bindings-GetX11Image-macos-aarch64.rs"); } @@ -195,16 +175,18 @@ pub mod bindings { // #[path = "Linpack.rs"] // pub mod linpack; - // #[path = "Parse.rs"] - // pub mod parse { - // use super::super::r_internals::SEXP; - // include!("bindings/R_ext/Parse.rs"); - // } + pub mod parse { + use super::super::r_internals::SEXP; - // pub mod r_startup { - // use super::boolean::Rboolean; - // include!("bindings/R_ext/RStartup.rs"); - // } + #[cfg(target_os = "macos")] + include!("bindings/bindings-Parse-macos-aarch64.rs"); + } + + pub mod r_startup { + use super::boolean::Rboolean; + #[cfg(target_os = "macos")] + include!("bindings/bindings-RStartup-macos-aarch64.rs"); + } pub mod r_dynload { use super::boolean::Rboolean; @@ -212,20 +194,41 @@ pub mod bindings { include!("bindings/bindings-Rdynload-macos-aarch64.rs"); } - // #[path = "Riconv.rs"] - // pub mod r_iconv; + #[path = "bindings-Riconv-macos-aarch64.rs"] + pub mod r_iconv; #[cfg(target_os = "macos")] #[path = "bindings-Visibility-macos-aarch64.rs"] pub mod visibility; - // // TODO: another platform? - // // #[path ="eventloop.rs"] - // // pub mod event_loop; + #[path = "bindings-eventloop-macos-aarch64.rs"] + pub mod event_loop; #[cfg(target_os = "macos")] #[path = "bindings-Boolean-macos-aarch64.rs"] - pub mod boolean; + mod boolean_bindings; + + pub mod boolean { + pub use super::boolean_bindings::*; + + impl From for bool { + fn from(value: Rboolean) -> Self { + match value { + Rboolean::FALSE => false, + Rboolean::TRUE => true, + } + } + } + + impl From for Rboolean { + fn from(value: bool) -> Self { + match value { + true => Rboolean::TRUE, + false => Rboolean::FALSE, + } + } + } + } #[cfg(target_os = "macos")] #[path = "bindings-Complex-macos-aarch64.rs"] @@ -268,6 +271,59 @@ pub mod bindings { include!("bindings/bindings-Utils-macos-aarch64.rs"); } + #[cfg(target_os = "macos")] + #[path = "bindings-Itermacros-macos-aarch64.rs"] + pub mod itermacros; + + #[cfg(target_os = "macos")] + #[path = "bindings-stats_stubs-macos-aarch64.rs"] + pub mod stats_stubs; + + pub mod graphics_engine { + use super::super::r_internals::cetype_t; + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; + use super::graphics_device::pDevDesc; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-GraphicsEngine-macos-aarch64.rs"); + } + + pub mod graphics_device { + use super::super::r_internals::SEXP; + use super::boolean::Rboolean; + use super::graphics_engine::pGEcontext; + #[cfg(target_os = "macos")] + include!("bindings/bindings-GraphicsDevice-macos-aarch64.rs"); + } + + // R_ext/Parse.h + // R_ext/RS.h + // R_ext/BLAS.h + // R_ext/Arith.h + // R_ext/Boolean.h + // R_ext/Applic.h + // R_ext/Linpack.h + // R_ext/Constants.h + // R_ext/Riconv.h + // R_ext/RStartup.h + // R_ext/Print.h + // R_ext/QuartzDevice.h + // R_ext/libextern.h + // R_ext/MathThreads.h + // R_ext/Memory.h + // R_ext/Connections.h + // R_ext/PrtUtil.h + // R_ext/Altrep.h + // R_ext/Rallocators.h + // R_ext/Visibility.h + // R_ext/stats_package.h + // R_ext/Makefile.in + // R_ext/Complex.h + // R_ext/Lapack.h + // R_ext/Random.h + // R_ext/eventloop.h + // //TODO: this is windows specific. // #[path = "libextern.rs"] // pub mod libextern; From 2238131891e75b29bc71f4120aab6d125627438c Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 15:50:25 +0200 Subject: [PATCH 12/50] wp: this also works, maybe we are done? --- src/lib.rs | 120 +++++++++++++++++++++++++++++------------------------ 1 file changed, 65 insertions(+), 55 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8e9f345c..13379f6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,11 +75,6 @@ extern "C" { pub fn TYPEOF(x: SEXP) -> SEXPTYPE; } -#[cfg(feature = "Altrep")] -#[allow(non_camel_case_types)] -pub type R_altrep_Coerce_method_t = - ::std::option::Option SEXP>; - #[cfg(feature = "Boolean")] pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { unsafe { @@ -150,7 +145,7 @@ pub mod bindings { #[cfg(target_os = "macos")] include!("bindings/bindings-BLAS-macos-aarch64.rs"); } - + pub mod callbacks { use super::super::r_internals::SEXP; use super::boolean::Rboolean; @@ -166,14 +161,15 @@ pub mod bindings { include!("bindings/bindings-GetX11Image-macos-aarch64.rs"); } - // // #[path ="Lapack.rs"] - // pub mod lapack { - // use super::complex::Rcomplex; - // include!("bindings/R_ext/Lapack.rs"); - // } + pub mod lapack { + use super::complex::Rcomplex; + #[cfg(target_os = "macos")] + include!("bindings/bindings-Lapack-macos-aarch64.rs"); + } - // #[path = "Linpack.rs"] - // pub mod linpack; + #[cfg(target_os = "macos")] + #[path = "bindings-Linpack-macos-aarch64.rs"] + pub mod linpack; pub mod parse { use super::super::r_internals::SEXP; @@ -279,6 +275,10 @@ pub mod bindings { #[path = "bindings-stats_stubs-macos-aarch64.rs"] pub mod stats_stubs; + #[cfg(target_os = "macos")] + #[path = "bindings-stats_package-macos-aarch64.rs"] + pub mod stats_package; + pub mod graphics_engine { use super::super::r_internals::cetype_t; use super::super::r_internals::SEXP; @@ -297,56 +297,66 @@ pub mod bindings { include!("bindings/bindings-GraphicsDevice-macos-aarch64.rs"); } - // R_ext/Parse.h - // R_ext/RS.h - // R_ext/BLAS.h - // R_ext/Arith.h - // R_ext/Boolean.h - // R_ext/Applic.h - // R_ext/Linpack.h - // R_ext/Constants.h - // R_ext/Riconv.h - // R_ext/RStartup.h - // R_ext/Print.h - // R_ext/QuartzDevice.h - // R_ext/libextern.h - // R_ext/MathThreads.h - // R_ext/Memory.h - // R_ext/Connections.h - // R_ext/PrtUtil.h - // R_ext/Altrep.h - // R_ext/Rallocators.h - // R_ext/Visibility.h - // R_ext/stats_package.h - // R_ext/Makefile.in - // R_ext/Complex.h - // R_ext/Lapack.h - // R_ext/Random.h - // R_ext/eventloop.h + #[path = "bindings-QuartzDevice-macos-aarch64.rs"] + pub mod quartz_device; + + #[path = "bindings-MathThreads-macos-aarch64.rs"] + pub mod math_threads; + + pub mod connections { + use super::boolean::Rboolean; + + include!("bindings/bindings-Connections-macos-aarch64.rs"); + } + + pub mod prt_util { + use super::super::r_internals::SEXP; + use super::complex::Rcomplex; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-PrtUtil-macos-aarch64.rs"); + } + + pub mod altrep { + use super::super::r_internals::{Rbyte, SEXP, SEXPTYPE}; + use super::boolean::Rboolean; + use super::complex::Rcomplex; + use super::r_dynload::DllInfo; + + #[cfg(target_os = "macos")] + include!("bindings/bindings-Altrep-macos-aarch64.rs"); + + #[allow(non_camel_case_types)] + pub type R_altrep_Coerce_method_t = + ::std::option::Option SEXP>; + } + + #[path = "bindings-Rallocators-macos-aarch64.rs"] + pub mod r_allocators; // //TODO: this is windows specific. - // #[path = "libextern.rs"] - // pub mod libextern; + #[path = "bindings-libextern-macos-aarch64.rs"] + pub mod libextern; } #[cfg(target_os = "macos")] #[path = "bindings-Rconfig-macos-aarch64.rs"] pub mod r_config; - // pub mod r_prelude { - // pub use super::r_config::*; - // pub use super::r_ext::arith::*; - // pub use super::r_ext::boolean::*; - // pub use super::r_ext::complex::*; - // pub use super::r_ext::constants::*; - // pub use super::r_ext::error::*; - // pub use super::r_ext::libextern::*; - // pub use super::r_ext::memory::*; - // pub use super::r_ext::print::*; - // pub use super::r_ext::random::*; - // pub use super::r_ext::rs::*; - // pub use super::r_ext::utils::*; - // } + pub mod r_prelude { + pub use super::r_config::*; + pub use super::r_ext::arith::*; + pub use super::r_ext::boolean::*; + pub use super::r_ext::complex::*; + pub use super::r_ext::constants::*; + pub use super::r_ext::error::*; + pub use super::r_ext::libextern::*; + pub use super::r_ext::memory::*; + pub use super::r_ext::print::*; + pub use super::r_ext::random::*; + pub use super::r_ext::rs::*; + pub use super::r_ext::utils::*; + } } #[cfg(test)] From 96d9d80d37c47861fae3c096b27fea40f5d78317 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 15:57:34 +0200 Subject: [PATCH 13/50] wp:re-arranged custom bindings --- src/lib.rs | 63 ++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 13379f6f..0c134499 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,37 +63,6 @@ #![allow(non_snake_case)] #![allow(improper_ctypes)] -#[non_exhaustive] -#[repr(transparent)] -#[derive(Debug)] -pub struct SEXPREC(std::ffi::c_void); - -extern "C" { - #[cfg(feature = "Boolean")] // FIXME: maybe remove? - #[cfg(feature = "Rinternals")] - // Return type should match `SEXPTYPE` - pub fn TYPEOF(x: SEXP) -> SEXPTYPE; -} - -#[cfg(feature = "Boolean")] -pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { - unsafe { - if secret::Rf_isS4_original(arg1) == 0 { - Rboolean::FALSE - } else { - Rboolean::TRUE - } - } -} - -mod secret { - use super::*; - extern "C" { - #[cfg(feature = "Rinternals")] - #[link_name = "Rf_isS4"] - pub fn Rf_isS4_original(arg1: SEXP) -> u32; - } -} pub mod bindings { #[cfg(target_os = "macos")] @@ -104,7 +73,35 @@ pub mod bindings { use super::r_ext::boolean::Rboolean; use super::r_ext::complex::Rcomplex; use super::r_ext::r_dynload::DL_FUNC; - use crate::SEXPREC; + + #[non_exhaustive] + #[repr(transparent)] + #[derive(Debug)] + pub struct SEXPREC(std::ffi::c_void); + + extern "C" { + // Return type should match `SEXPTYPE` + pub fn TYPEOF(x: SEXP) -> SEXPTYPE; + } + + mod secret { + use super::*; + extern "C" { + #[link_name = "Rf_isS4"] + pub fn Rf_isS4_original(arg1: SEXP) -> u32; + } + } + + pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { + unsafe { + if secret::Rf_isS4_original(arg1) == 0 { + Rboolean::FALSE + } else { + Rboolean::TRUE + } + } + } + #[cfg(target_os = "macos")] include!("bindings/bindings-Rinternals-macos-aarch64.rs"); } @@ -308,7 +305,7 @@ pub mod bindings { include!("bindings/bindings-Connections-macos-aarch64.rs"); } - + pub mod prt_util { use super::super::r_internals::SEXP; use super::complex::Rcomplex; From 88f9cba685cdd790c80f3ca1bad032243826ce4f Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 15:57:43 +0200 Subject: [PATCH 14/50] wp: imports... --- src/tests.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index 8cd9e8c8..5066d0b3 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1,3 +1,14 @@ +use bindings::{ + r_embedded::Rf_initialize_R, + r_ext::r_startup::setup_Rmainloop, + r_interface::R_CStackLimit, + r_internals::{ + R_GlobalEnv, R_NilValue, R_ParseEvalString, Rf_PrintValue, Rf_isS4, Rf_protect, + Rf_unprotect, REAL, SEXPTYPE, TYPEOF, + }, + r_prelude::Rboolean, +}; + use super::*; use std::os::raw; From 8523fbb18d9193d388e8b63721b921e3942664d0 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 16:21:46 +0200 Subject: [PATCH 15/50] wp: added feature dependencies. But these are not used in `lib.rs` yet. --- Cargo.toml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 69f1a9ec..cb12c195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,37 +67,38 @@ layout_tests = ["use-bindgen"] # R_ext/* Print = [] -Parse = [] -GraphicsEngine = [] +Parse = ["Rinternals"] Error = [] Itermacros = [] -Utils = [] +Utils = ["Boolean", "Complex"] stats_stubs = [] -GetX11Image = [] -GraphicsDevice = [] -Callbacks = [] -Rdynload = [] +GetX11Image = ["Boolean"] +# TODO: combine them? +GraphicsEngine = ["GraphicsDevice", "Rinternals", "Boolean"] +GraphicsDevice = ["GraphicsEngine", "Rinternals", "Boolean"] +Callbacks = ["Rinternals", "Boolean"] +Rdynload = ["Boolean"] RS = [] -BLAS = [] +BLAS = ["Complex"] Arith = [] Boolean = [] -Applic = [] +Applic = ["Boolean"] Linpack = [] Constants = [] Riconv = [] -RStartup = [] +RStartup = ["Boolean"] QuartzDevice = [] libextern = [] MathThreads = [] Memory = [] -Connections = [] -PrtUtil = [] -Altrep = [] +Connections = ["Boolean"] +PrtUtil = ["Rinternals", "Complex"] +Altrep = ["Rinternals", "Boolean", "Complex", "Rdynload"] Rallocators = [] Visibility = [] stats_package = [] Complex = [] -Lapack = [] +Lapack = ["Complex"] Random = [] eventloop = [] R_ext = [ @@ -142,9 +143,9 @@ libintl = [] R = [] Rconfig = [] Rdefines = [] -Rembedded = [] +Rembedded = ["Boolean"] Rinterface = [] -Rinternals = [] +Rinternals = ["Boolean", "Complex", "Rdynload"] Rmath = [] # GraphicsBase = [] # private Rdynpriv = [] # ?? From 09ba4fc8869a2e989f89d24919d609679c389f36 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 16:22:55 +0200 Subject: [PATCH 16/50] wp: missing? what is libintl? --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0c134499..605ed872 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -197,6 +197,9 @@ pub mod bindings { #[path = "bindings-eventloop-macos-aarch64.rs"] pub mod event_loop; + #[path = "bindings-libintl-macos-aarch64.rs"] + pub mod libintl; + #[cfg(target_os = "macos")] #[path = "bindings-Boolean-macos-aarch64.rs"] mod boolean_bindings; From 0fbfcebc053a06aefa20ca52e762c476daffb636 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 22:46:05 +0200 Subject: [PATCH 17/50] wp: merge up --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 605ed872..2b7643b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,7 +63,6 @@ #![allow(non_snake_case)] #![allow(improper_ctypes)] - pub mod bindings { #[cfg(target_os = "macos")] #[path = "bindings-R-macos-aarch64.rs"] @@ -91,7 +90,7 @@ pub mod bindings { pub fn Rf_isS4_original(arg1: SEXP) -> u32; } } - + pub unsafe fn Rf_isS4(arg1: SEXP) -> Rboolean { unsafe { if secret::Rf_isS4_original(arg1) == 0 { @@ -123,8 +122,6 @@ pub mod bindings { pub mod r_interface; pub mod r_embedded { - use super::r_ext::boolean::Rboolean; - #[cfg(target_os = "macos")] include!("bindings/bindings-Rembedded-macos-aarch64.rs"); } From a646a11cc1ddd61448eee1efe86c8ca3c2920784 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 22:56:21 +0200 Subject: [PATCH 18/50] wp: added r version to the header.. --- build.rs | 15 +++++++-------- ...> bindings-Altrep-macos-aarch64-R4.5-devel.rs} | 0 ...> bindings-Applic-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Arith-macos-aarch64-R4.5-devel.rs} | 0 ... => bindings-BLAS-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-Boolean-macos-aarch64-R4.5-devel.rs} | 0 ...indings-Callbacks-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-Complex-macos-aarch64-R4.5-devel.rs} | 0 ...dings-Connections-macos-aarch64-R4.5-devel.rs} | 0 ...indings-Constants-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Error-macos-aarch64-R4.5-devel.rs} | 0 ...dings-GetX11Image-macos-aarch64-R4.5-devel.rs} | 0 ...gs-GraphicsDevice-macos-aarch64-R4.5-devel.rs} | 0 ...gs-GraphicsEngine-macos-aarch64-R4.5-devel.rs} | 0 ...ndings-Itermacros-macos-aarch64-R4.5-devel.rs} | 0 ...> bindings-Lapack-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-Linpack-macos-aarch64-R4.5-devel.rs} | 0 ...dings-MathThreads-macos-aarch64-R4.5-devel.rs} | 0 ...> bindings-Memory-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Parse-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Print-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-PrtUtil-macos-aarch64-R4.5-devel.rs} | 0 ...ings-QuartzDevice-macos-aarch64-R4.5-devel.rs} | 0 ....rs => bindings-R-macos-aarch64-R4.5-devel.rs} | 0 ...rs => bindings-RS-macos-aarch64-R4.5-devel.rs} | 0 ...bindings-RStartup-macos-aarch64-R4.5-devel.rs} | 0 ...dings-Rallocators-macos-aarch64-R4.5-devel.rs} | 0 ...> bindings-Random-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-Rconfig-macos-aarch64-R4.5-devel.rs} | 0 ...bindings-Rdefines-macos-aarch64-R4.5-devel.rs} | 0 ...bindings-Rdynload-macos-aarch64-R4.5-devel.rs} | 0 ...indings-Rembedded-macos-aarch64-R4.5-devel.rs} | 0 ...> bindings-Riconv-macos-aarch64-R4.5-devel.rs} | 0 ...ndings-Rinterface-macos-aarch64-R4.5-devel.rs} | 0 ...ndings-Rinternals-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Rmath-macos-aarch64-R4.5-devel.rs} | 0 ...bindings-Rversion-macos-aarch64-R4.5-devel.rs} | 0 ...=> bindings-Utils-macos-aarch64-R4.5-devel.rs} | 0 ...ndings-Visibility-macos-aarch64-R4.5-devel.rs} | 0 ...indings-eventloop-macos-aarch64-R4.5-devel.rs} | 0 ...indings-libextern-macos-aarch64-R4.5-devel.rs} | 0 ... bindings-libintl-macos-aarch64-R4.5-devel.rs} | 0 ...ngs-stats_package-macos-aarch64-R4.5-devel.rs} | 0 ...dings-stats_stubs-macos-aarch64-R4.5-devel.rs} | 0 44 files changed, 7 insertions(+), 8 deletions(-) rename src/bindings/{bindings-Altrep-macos-aarch64.rs => bindings-Altrep-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Applic-macos-aarch64.rs => bindings-Applic-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Arith-macos-aarch64.rs => bindings-Arith-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-BLAS-macos-aarch64.rs => bindings-BLAS-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Boolean-macos-aarch64.rs => bindings-Boolean-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Callbacks-macos-aarch64.rs => bindings-Callbacks-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Complex-macos-aarch64.rs => bindings-Complex-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Connections-macos-aarch64.rs => bindings-Connections-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Constants-macos-aarch64.rs => bindings-Constants-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Error-macos-aarch64.rs => bindings-Error-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-GetX11Image-macos-aarch64.rs => bindings-GetX11Image-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-GraphicsDevice-macos-aarch64.rs => bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-GraphicsEngine-macos-aarch64.rs => bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Itermacros-macos-aarch64.rs => bindings-Itermacros-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Lapack-macos-aarch64.rs => bindings-Lapack-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Linpack-macos-aarch64.rs => bindings-Linpack-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-MathThreads-macos-aarch64.rs => bindings-MathThreads-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Memory-macos-aarch64.rs => bindings-Memory-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Parse-macos-aarch64.rs => bindings-Parse-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Print-macos-aarch64.rs => bindings-Print-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-PrtUtil-macos-aarch64.rs => bindings-PrtUtil-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-QuartzDevice-macos-aarch64.rs => bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-R-macos-aarch64.rs => bindings-R-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-RS-macos-aarch64.rs => bindings-RS-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-RStartup-macos-aarch64.rs => bindings-RStartup-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rallocators-macos-aarch64.rs => bindings-Rallocators-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Random-macos-aarch64.rs => bindings-Random-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rconfig-macos-aarch64.rs => bindings-Rconfig-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rdefines-macos-aarch64.rs => bindings-Rdefines-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rdynload-macos-aarch64.rs => bindings-Rdynload-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rembedded-macos-aarch64.rs => bindings-Rembedded-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Riconv-macos-aarch64.rs => bindings-Riconv-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rinterface-macos-aarch64.rs => bindings-Rinterface-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rinternals-macos-aarch64.rs => bindings-Rinternals-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rmath-macos-aarch64.rs => bindings-Rmath-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Rversion-macos-aarch64.rs => bindings-Rversion-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Utils-macos-aarch64.rs => bindings-Utils-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-Visibility-macos-aarch64.rs => bindings-Visibility-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-eventloop-macos-aarch64.rs => bindings-eventloop-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-libextern-macos-aarch64.rs => bindings-libextern-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-libintl-macos-aarch64.rs => bindings-libintl-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-stats_package-macos-aarch64.rs => bindings-stats_package-macos-aarch64-R4.5-devel.rs} (100%) rename src/bindings/{bindings-stats_stubs-macos-aarch64.rs => bindings-stats_stubs-macos-aarch64-R4.5-devel.rs} (100%) diff --git a/build.rs b/build.rs index 27866903..b02638bb 100644 --- a/build.rs +++ b/build.rs @@ -75,13 +75,11 @@ struct RVersionInfo { impl RVersionInfo { /// Returns the name for precompiled bindings, given R version and targets. /// e.g. `bindings-windows-x86_64-R4.4-devel.rs` - fn get_r_bindings_filename(&self, target_os: &str, target_arch: &str) -> PathBuf { + fn get_r_bindings_filename(&self, name: &str, target_os: &str, target_arch: &str) -> String { let devel_suffix = if self.devel { "-devel" } else { "" }; let major = &self.major; let minor = &self.minor; - PathBuf::from(format!( - "bindings-{target_os}-{target_arch}-R{major}.{minor}{devel_suffix}.rs" - )) + format!("bindings-{name}-{target_os}-{target_arch}-R{major}.{minor}{devel_suffix}.rs") } } @@ -551,10 +549,10 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // Write the bindings to the $OUT_DIR/bindings.rs file. let out_path = PathBuf::from(env::var_os("OUT_DIR").unwrap()); - dbg!(&out_path); + // dbg!(&out_path); for r_header in &r_headers { let r_header_name = Path::new(r_header).file_stem().unwrap().to_str().unwrap(); - dbg!(r_header_name); + // dbg!(r_header_name); let mut bindings = bindgen_builder.clone(); match r_header_name { r"Complex" => { @@ -600,7 +598,9 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // Unwrap the Result and panic on failure. .expect("Unable to generate bindings"); - let binding_name = format!("bindings-{r_header_name}-{target_os}-{target_arch}.rs"); + let binding_name = + version_info.get_r_bindings_filename(&r_header_name, &target_os, &target_arch); + bindings .write_to_file(out_path.join(&binding_name)) .expect("Couldn't write bindings to default output path!"); @@ -617,7 +617,6 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { }); } - // let bindings_file_full = version_info.get_r_bindings_filename(&target_os, &target_arch); let out_file = out_path.join(&binding_name); bindings diff --git a/src/bindings/bindings-Altrep-macos-aarch64.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Altrep-macos-aarch64.rs rename to src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Applic-macos-aarch64.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Applic-macos-aarch64.rs rename to src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Arith-macos-aarch64.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Arith-macos-aarch64.rs rename to src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-BLAS-macos-aarch64.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-BLAS-macos-aarch64.rs rename to src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Boolean-macos-aarch64.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Boolean-macos-aarch64.rs rename to src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Callbacks-macos-aarch64.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Callbacks-macos-aarch64.rs rename to src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Complex-macos-aarch64.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Complex-macos-aarch64.rs rename to src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Connections-macos-aarch64.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Connections-macos-aarch64.rs rename to src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Constants-macos-aarch64.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Constants-macos-aarch64.rs rename to src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Error-macos-aarch64.rs b/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Error-macos-aarch64.rs rename to src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-macos-aarch64.rs rename to src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-macos-aarch64.rs rename to src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-macos-aarch64.rs rename to src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Itermacros-macos-aarch64.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Itermacros-macos-aarch64.rs rename to src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Lapack-macos-aarch64.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Lapack-macos-aarch64.rs rename to src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Linpack-macos-aarch64.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Linpack-macos-aarch64.rs rename to src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-MathThreads-macos-aarch64.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-MathThreads-macos-aarch64.rs rename to src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Memory-macos-aarch64.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Memory-macos-aarch64.rs rename to src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Parse-macos-aarch64.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Parse-macos-aarch64.rs rename to src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Print-macos-aarch64.rs b/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Print-macos-aarch64.rs rename to src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-macos-aarch64.rs rename to src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-macos-aarch64.rs rename to src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-R-macos-aarch64.rs b/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-R-macos-aarch64.rs rename to src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RS-macos-aarch64.rs b/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RS-macos-aarch64.rs rename to src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RStartup-macos-aarch64.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RStartup-macos-aarch64.rs rename to src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rallocators-macos-aarch64.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rallocators-macos-aarch64.rs rename to src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Random-macos-aarch64.rs b/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Random-macos-aarch64.rs rename to src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rconfig-macos-aarch64.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rconfig-macos-aarch64.rs rename to src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdefines-macos-aarch64.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdefines-macos-aarch64.rs rename to src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdynload-macos-aarch64.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdynload-macos-aarch64.rs rename to src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rembedded-macos-aarch64.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rembedded-macos-aarch64.rs rename to src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Riconv-macos-aarch64.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Riconv-macos-aarch64.rs rename to src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinterface-macos-aarch64.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinterface-macos-aarch64.rs rename to src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinternals-macos-aarch64.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinternals-macos-aarch64.rs rename to src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rmath-macos-aarch64.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rmath-macos-aarch64.rs rename to src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rversion-macos-aarch64.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rversion-macos-aarch64.rs rename to src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Utils-macos-aarch64.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Utils-macos-aarch64.rs rename to src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Visibility-macos-aarch64.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Visibility-macos-aarch64.rs rename to src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-eventloop-macos-aarch64.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-eventloop-macos-aarch64.rs rename to src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-libextern-macos-aarch64.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libextern-macos-aarch64.rs rename to src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-libintl-macos-aarch64.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libintl-macos-aarch64.rs rename to src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_package-macos-aarch64.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_package-macos-aarch64.rs rename to src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-macos-aarch64.rs rename to src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs From 9c61dbb90949f96139a012ab7899474375f53ca2 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 22:56:27 +0200 Subject: [PATCH 19/50] minor --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cb12c195..2769109f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -148,7 +148,7 @@ Rinterface = [] Rinternals = ["Boolean", "Complex", "Rdynload"] Rmath = [] # GraphicsBase = [] # private -Rdynpriv = [] # ?? +# Rdynpriv = [] # ?? maybe private? [lib] # Some code comments on R's source code might be accidentally treated as Rust's From 9042797e7dfc721844f388fa3e88d65bb2bf99d1 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 22:56:37 +0200 Subject: [PATCH 20/50] README: updated the instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1c5f5615..1a6cad5c 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,12 @@ The output folder for bindings can be configured using `LIBRSYS_BINDINGS_OUTPUT_ PATH=/usr/local/opt/llvm/bin:$PATH ``` + Alternatively, one may merely set + + ```shell + export LIBCLANG_PATH=$(brew --prefix llvm)/lib + ``` + Build & test using ```shell From 75f95f162bc8cc28bfa68b64f3f2962f316d6e93 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 22:58:01 +0200 Subject: [PATCH 21/50] wp: updated the bindings generating ci script [generate bindings] --- .github/workflows/test.yml | 97 +++++++------------------------------- 1 file changed, 17 insertions(+), 80 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4c9eaf6..ca87cf07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,8 +18,10 @@ on: # This can also manually run workflow_dispatch: {} -jobs: +env: + LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings +jobs: test_with_bindgen: # When the event is not issue_comment, always run the tests. When it is, # check if (1) the comment is on pull request, (2) the comment author is the @@ -175,6 +177,8 @@ jobs: # https://github.com/r-lib/ps/commit/a24f2c4d1bdba63be14e7729b9ab81d0ed9f719e # Environment variables are required fir Mac-OS-11.0, see # https://github.com/extendr/libR-sys/issues/35 + + # TODO: remove everything except `LIBCLANG_PATH` - name: Configure macOS if: runner.os == 'macOS' run: | @@ -231,7 +235,6 @@ jobs: . ./ci-cargo.ps1 ci-cargo build -vv --features use-bindgen $(if ($env:RUST_TARGET -ne '') {"--target=$env:RUST_TARGET"} ) -ActionName "Building for target: $env:RUST_TARGET" env: - LIBRSYS_BINDINGS_OUTPUT_PATH: generated_bindings RUST_TARGET: ${{ matrix.config.target }} - name: Upload generated bindings @@ -241,14 +244,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: generated_binding-${{ matrix.config.os }}-R-${{ matrix.config.r }}-rust-${{ matrix.config.rust-version }}-${{ matrix.config.target || 'default'}} - path: generated_bindings + path: ${{ env.LIBRSYS_BINDINGS_OUTPUT_PATH }} check_generate_bindings_flag: name: Check if [generate bindings] is in latest commit message runs-on: ubuntu-latest outputs: head_commit_message: ${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }} - # generate_bindings: ${{ contains(steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE, '[generate bindings]') }} steps: - uses: actions/checkout@v4 with: @@ -261,8 +263,8 @@ jobs: echo "${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }}" echo "${{ contains(steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE, '[generate bindings]') }}" - pr_generated_bindings: - name: Make PR with generated bindings + commit_generated_bindings: + name: Commit generated bindings needs: [test_with_bindgen, check_generate_bindings_flag] if: ${{ contains(needs.check_generate_bindings_flag.outputs.head_commit_message, '[generate bindings]') }} runs-on: ubuntu-latest @@ -275,86 +277,21 @@ jobs: - name: Update bindings run: | # Update or add the bindings - cp generated_binding-*/*.rs bindings/ + cp generated_binding-*/*.rs src/bindings/ # Replace the default bindings - cd bindings - for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do - # Choose the newest version except for devel - ln --force -s "$(ls -1 ./bindings-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-${x}.rs - done + cd src/bindings + # TODO: this needs adjustment for the new output files... + # for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do + # # Choose the newest version except for devel + # ln --force -s "$(ls -1 ./bindings-*-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-*-${x}.rs + # done cd .. - name: Add generated bindings run: | - git add bindings/ + git add src/bindings/ git config --local user.name "${GITHUB_ACTOR}" git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git commit -m "Update bindings [skip ci]" - name: Push to PR branch - run: git push - - # Gather the generated bindings and push them to generated_bindings branch. - # If we need to update the bindings, create a pull request from that branch. - commit_generated_bindings: - needs: test_with_bindgen - runs-on: ubuntu-latest - # In the case of /bindings command, we don't need to check anything else - # because it should have checked in test_with_bindings job. In the other - # cases, we only want to invoke this on the master branch. - if: github.event_name == 'issue_comment' || github.ref == 'refs/heads/master' - steps: - - uses: actions/checkout@v4 - - - uses: actions/download-artifact@v4 - - - name: Switch branch - if: github.event_name != 'issue_comment' - run: | - # 1) If there's already generated_bindings branch, checkout it. - # 2) If generated_binding branch is not created, create it from the default branch. - if git ls-remote --exit-code --heads origin generated_bindings 2>&1 >/dev/null; then - git fetch origin --no-tags --prune --depth=1 generated_bindings - git checkout generated_bindings - else - git switch -c generated_bindings - fi - - - name: Switch branch (/bindings command) - if: github.event_name == 'issue_comment' - uses: r-lib/actions/pr-fetch@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Commit the generated bindings - run: | - # Update or add the bindings - cp generated_binding-*/*.rs bindings/ - - # Replace the default bindings - cd bindings - for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do - # Choose the newest version except for devel - ln --force -s "$(ls -1 ./bindings-${x}-*.rs | grep -v devel | sort | tail -1)" ./bindings-${x}.rs - done - cd .. - - # detect changes (the code is derived from https://stackoverflow.com/a/3879077) - git add bindings/ - git update-index --refresh - if ! git diff-index --quiet HEAD -- bindings/; then - git config --local user.name "${GITHUB_ACTOR}" - git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git commit -m "Update bindings [skip ci]" - else - echo "No changes" - fi - - - name: Push - if: github.event_name != 'issue_comment' - run: git push origin generated_bindings - - - name: Push (/bindings command) - if: github.event_name == 'issue_comment' - uses: r-lib/actions/pr-push@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + run: git push \ No newline at end of file From 2651af88f4b3f5d596a6c7ef6e63d7e5bc46f1f8 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 23:04:07 +0200 Subject: [PATCH 22/50] REVERT LATER [generate bindings] --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca87cf07..37dddfa9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,19 +58,19 @@ jobs: # only one stable Rust toolchain per combination of a platform and # an R version (e.g. Windows and R-release) to emit bindings. - {os: windows-latest, r: 'release', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} - - {os: windows-latest, r: 'release', rust-version: 'nightly-msvc', target: 'x86_64-pc-windows-gnu'} + # - {os: windows-latest, r: 'release', rust-version: 'nightly-msvc', target: 'x86_64-pc-windows-gnu'} - {os: windows-latest, r: 'devel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} - - {os: windows-latest, r: 'release', rust-version: 'stable-gnu', target: 'x86_64-pc-windows-gnu'} + # - {os: windows-latest, r: 'release', rust-version: 'stable-gnu', target: 'x86_64-pc-windows-gnu'} - {os: windows-latest, r: 'oldrel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} - - {os: macOS-latest, r: 'release', rust-version: 'nightly'} + # - {os: macOS-latest, r: 'release', rust-version: 'nightly'} - {os: macOS-latest, r: 'devel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'oldrel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', target: 'x86_64-apple-darwin', skip-tests: 'true', emit-bindings: 'true'} - - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'} + # - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'} - {os: ubuntu-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} - {os: ubuntu-latest, r: 'release', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} From bac704fdc36105a0bb1400c3d652de6162af5a70 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 23:41:14 +0200 Subject: [PATCH 23/50] REVERT THIS: disabled everything... --- Cargo.toml | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2769109f..0412f648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,7 @@ runtime = ["bindgen/runtime"] # Enables generation of layout-tests in bindgen layout_tests = ["use-bindgen"] +disabled = [] # TODO: include default headers... # TODO:?! diff --git a/src/lib.rs b/src/lib.rs index 2b7643b2..95cc17dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,6 +63,7 @@ #![allow(non_snake_case)] #![allow(improper_ctypes)] +#[cfg(feature = "disabled")] pub mod bindings { #[cfg(target_os = "macos")] #[path = "bindings-R-macos-aarch64.rs"] @@ -356,5 +357,6 @@ pub mod bindings { } } +#[cfg(feature = "disabled")] #[cfg(test)] mod tests; From 0999c65d10334bd179e4d628d729d9312ffeb78c Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 9 Jun 2024 23:41:53 +0200 Subject: [PATCH 24/50] [generate bindings] From 90eb78b2a71d97a196aed642b6cc99a70fd21900 Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sun, 9 Jun 2024 21:50:43 +0000 Subject: [PATCH 25/50] Update bindings [skip ci] --- .../bindings-Altrep-linux-aarch64-R4.3.rs | 305 + .../bindings-Altrep-linux-aarch64-R4.4.rs | 305 + ...indings-Altrep-linux-aarch64-R4.5-devel.rs | 305 + .../bindings-Altrep-linux-x86_64-R4.3.rs | 314 + .../bindings-Altrep-linux-x86_64-R4.4.rs | 314 + ...bindings-Altrep-linux-x86_64-R4.5-devel.rs | 314 + .../bindings-Altrep-macos-aarch64-R4.3.rs | 314 + .../bindings-Altrep-macos-aarch64-R4.4.rs | 314 + ...indings-Altrep-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Altrep-macos-x86_64-R4.4.rs | 322 + .../bindings-Altrep-windows-x86_64-R4.3.rs | 1439 ++++ .../bindings-Altrep-windows-x86_64-R4.4.rs | 1441 ++++ ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 1427 ++++ .../bindings-Applic-linux-aarch64-R4.3.rs | 272 + .../bindings-Applic-linux-aarch64-R4.4.rs | 272 + ...indings-Applic-linux-aarch64-R4.5-devel.rs | 272 + .../bindings-Applic-linux-x86_64-R4.3.rs | 272 + .../bindings-Applic-linux-x86_64-R4.4.rs | 272 + ...bindings-Applic-linux-x86_64-R4.5-devel.rs | 272 + .../bindings-Applic-macos-aarch64-R4.3.rs | 274 + .../bindings-Applic-macos-aarch64-R4.4.rs | 274 + ...indings-Applic-macos-aarch64-R4.5-devel.rs | 4 +- .../bindings-Applic-macos-x86_64-R4.4.rs | 274 + .../bindings-Applic-windows-x86_64-R4.3.rs | 1150 +++ .../bindings-Applic-windows-x86_64-R4.4.rs | 295 + ...ndings-Applic-windows-x86_64-R4.5-devel.rs | 295 + .../bindings-Arith-linux-aarch64-R4.3.rs | 24 + .../bindings-Arith-linux-aarch64-R4.4.rs | 24 + ...bindings-Arith-linux-aarch64-R4.5-devel.rs | 24 + .../bindings-Arith-linux-x86_64-R4.3.rs | 24 + .../bindings-Arith-linux-x86_64-R4.4.rs | 24 + .../bindings-Arith-linux-x86_64-R4.5-devel.rs | 24 + .../bindings-Arith-macos-aarch64-R4.3.rs | 24 + .../bindings-Arith-macos-aarch64-R4.4.rs | 24 + ...bindings-Arith-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Arith-macos-x86_64-R4.4.rs | 24 + .../bindings-Arith-windows-x86_64-R4.3.rs | 24 + .../bindings-Arith-windows-x86_64-R4.4.rs | 24 + ...indings-Arith-windows-x86_64-R4.5-devel.rs | 24 + .../bindings-BLAS-linux-aarch64-R4.3.rs | 810 ++ .../bindings-BLAS-linux-aarch64-R4.4.rs | 822 ++ .../bindings-BLAS-linux-aarch64-R4.5-devel.rs | 822 ++ .../bindings-BLAS-linux-x86_64-R4.3.rs | 810 ++ .../bindings-BLAS-linux-x86_64-R4.4.rs | 822 ++ .../bindings-BLAS-linux-x86_64-R4.5-devel.rs | 822 ++ .../bindings-BLAS-macos-aarch64-R4.3.rs | 834 ++ .../bindings-BLAS-macos-aarch64-R4.4.rs | 847 ++ .../bindings-BLAS-macos-aarch64-R4.5-devel.rs | 27 +- .../bindings-BLAS-macos-x86_64-R4.4.rs | 847 ++ .../bindings-BLAS-windows-x86_64-R4.3.rs | 880 +++ .../bindings-BLAS-windows-x86_64-R4.4.rs | 892 +++ ...bindings-BLAS-windows-x86_64-R4.5-devel.rs | 892 +++ .../bindings-Boolean-linux-aarch64-R4.3.rs | 16 + .../bindings-Boolean-linux-aarch64-R4.4.rs | 16 + ...ndings-Boolean-linux-aarch64-R4.5-devel.rs | 16 + .../bindings-Boolean-linux-x86_64-R4.3.rs | 16 + .../bindings-Boolean-linux-x86_64-R4.4.rs | 16 + ...indings-Boolean-linux-x86_64-R4.5-devel.rs | 16 + .../bindings-Boolean-macos-aarch64-R4.3.rs | 16 + .../bindings-Boolean-macos-aarch64-R4.4.rs | 16 + ...ndings-Boolean-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Boolean-macos-x86_64-R4.4.rs | 16 + .../bindings-Boolean-windows-x86_64-R4.3.rs | 16 + .../bindings-Boolean-windows-x86_64-R4.4.rs | 16 + ...dings-Boolean-windows-x86_64-R4.5-devel.rs | 16 + .../bindings-Callbacks-linux-aarch64-R4.3.rs | 140 + .../bindings-Callbacks-linux-aarch64-R4.4.rs | 140 + ...ings-Callbacks-linux-aarch64-R4.5-devel.rs | 140 + .../bindings-Callbacks-linux-x86_64-R4.3.rs | 149 + .../bindings-Callbacks-linux-x86_64-R4.4.rs | 149 + ...dings-Callbacks-linux-x86_64-R4.5-devel.rs | 149 + .../bindings-Callbacks-macos-aarch64-R4.3.rs | 149 + .../bindings-Callbacks-macos-aarch64-R4.4.rs | 149 + ...ings-Callbacks-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Callbacks-macos-x86_64-R4.4.rs | 157 + .../bindings-Callbacks-windows-x86_64-R4.3.rs | 1276 +++ .../bindings-Callbacks-windows-x86_64-R4.4.rs | 1278 +++ ...ngs-Callbacks-windows-x86_64-R4.5-devel.rs | 1264 +++ .../bindings-Complex-linux-aarch64-R4.3.rs | 15 + .../bindings-Complex-linux-aarch64-R4.4.rs | 15 + ...ndings-Complex-linux-aarch64-R4.5-devel.rs | 15 + .../bindings-Complex-linux-x86_64-R4.3.rs | 15 + .../bindings-Complex-linux-x86_64-R4.4.rs | 15 + ...indings-Complex-linux-x86_64-R4.5-devel.rs | 15 + .../bindings-Complex-macos-aarch64-R4.3.rs | 15 + .../bindings-Complex-macos-aarch64-R4.4.rs | 15 + ...ndings-Complex-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Complex-macos-x86_64-R4.4.rs | 15 + .../bindings-Complex-windows-x86_64-R4.3.rs | 15 + .../bindings-Complex-windows-x86_64-R4.4.rs | 15 + ...dings-Complex-windows-x86_64-R4.5-devel.rs | 15 + ...bindings-Connections-linux-aarch64-R4.3.rs | 155 + ...bindings-Connections-linux-aarch64-R4.4.rs | 155 + ...gs-Connections-linux-aarch64-R4.5-devel.rs | 155 + .../bindings-Connections-linux-x86_64-R4.3.rs | 164 + .../bindings-Connections-linux-x86_64-R4.4.rs | 164 + ...ngs-Connections-linux-x86_64-R4.5-devel.rs | 164 + ...bindings-Connections-macos-aarch64-R4.3.rs | 164 + ...bindings-Connections-macos-aarch64-R4.4.rs | 164 + ...gs-Connections-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Connections-macos-x86_64-R4.4.rs | 172 + ...indings-Connections-windows-x86_64-R4.3.rs | 1291 +++ ...indings-Connections-windows-x86_64-R4.4.rs | 1293 +++ ...s-Connections-windows-x86_64-R4.5-devel.rs | 1279 +++ .../bindings-Constants-linux-aarch64-R4.3.rs | 9 + .../bindings-Constants-linux-aarch64-R4.4.rs | 9 + ...ings-Constants-linux-aarch64-R4.5-devel.rs | 9 + .../bindings-Constants-linux-x86_64-R4.3.rs | 9 + .../bindings-Constants-linux-x86_64-R4.4.rs | 9 + ...dings-Constants-linux-x86_64-R4.5-devel.rs | 9 + .../bindings-Constants-macos-aarch64-R4.3.rs | 9 + .../bindings-Constants-macos-aarch64-R4.4.rs | 9 + ...ings-Constants-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Constants-macos-x86_64-R4.4.rs | 9 + .../bindings-Constants-windows-x86_64-R4.3.rs | 9 + .../bindings-Constants-windows-x86_64-R4.4.rs | 9 + ...ngs-Constants-windows-x86_64-R4.5-devel.rs | 9 + .../bindings-Error-linux-aarch64-R4.3.rs | 15 + .../bindings-Error-linux-aarch64-R4.4.rs | 16 + ...bindings-Error-linux-aarch64-R4.5-devel.rs | 16 + .../bindings-Error-linux-x86_64-R4.3.rs | 15 + .../bindings-Error-linux-x86_64-R4.4.rs | 25 + .../bindings-Error-linux-x86_64-R4.5-devel.rs | 25 + .../bindings-Error-macos-aarch64-R4.3.rs | 15 + .../bindings-Error-macos-aarch64-R4.4.rs | 17 + ...bindings-Error-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Error-macos-x86_64-R4.4.rs | 25 + .../bindings-Error-windows-x86_64-R4.3.rs | 15 + .../bindings-Error-windows-x86_64-R4.4.rs | 22 + ...indings-Error-windows-x86_64-R4.5-devel.rs | 22 + ...bindings-GetX11Image-linux-aarch64-R4.3.rs | 17 + ...bindings-GetX11Image-linux-aarch64-R4.4.rs | 17 + ...gs-GetX11Image-linux-aarch64-R4.5-devel.rs | 17 + .../bindings-GetX11Image-linux-x86_64-R4.3.rs | 17 + .../bindings-GetX11Image-linux-x86_64-R4.4.rs | 17 + ...ngs-GetX11Image-linux-x86_64-R4.5-devel.rs | 17 + ...bindings-GetX11Image-macos-aarch64-R4.3.rs | 17 + ...bindings-GetX11Image-macos-aarch64-R4.4.rs | 17 + ...gs-GetX11Image-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-GetX11Image-macos-x86_64-R4.4.rs | 17 + ...dings-GraphicsDevice-linux-aarch64-R4.3.rs | 405 + ...dings-GraphicsDevice-linux-aarch64-R4.4.rs | 405 + ...GraphicsDevice-linux-aarch64-R4.5-devel.rs | 405 + ...ndings-GraphicsDevice-linux-x86_64-R4.3.rs | 414 + ...ndings-GraphicsDevice-linux-x86_64-R4.4.rs | 414 + ...-GraphicsDevice-linux-x86_64-R4.5-devel.rs | 414 + ...dings-GraphicsDevice-macos-aarch64-R4.3.rs | 422 + ...dings-GraphicsDevice-macos-aarch64-R4.4.rs | 422 + ...GraphicsDevice-macos-aarch64-R4.5-devel.rs | 10 +- ...ndings-GraphicsDevice-macos-x86_64-R4.4.rs | 430 + ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 2061 +++++ ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 2063 +++++ ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 2049 +++++ ...dings-GraphicsEngine-linux-aarch64-R4.3.rs | 583 ++ ...dings-GraphicsEngine-linux-aarch64-R4.4.rs | 583 ++ ...GraphicsEngine-linux-aarch64-R4.5-devel.rs | 583 ++ ...ndings-GraphicsEngine-linux-x86_64-R4.3.rs | 592 ++ ...ndings-GraphicsEngine-linux-x86_64-R4.4.rs | 592 ++ ...-GraphicsEngine-linux-x86_64-R4.5-devel.rs | 592 ++ ...dings-GraphicsEngine-macos-aarch64-R4.3.rs | 595 ++ ...dings-GraphicsEngine-macos-aarch64-R4.4.rs | 595 ++ ...GraphicsEngine-macos-aarch64-R4.5-devel.rs | 5 +- ...ndings-GraphicsEngine-macos-x86_64-R4.4.rs | 603 ++ ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 2061 +++++ ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 2063 +++++ ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 2049 +++++ .../bindings-Itermacros-linux-aarch64-R4.3.rs | 9 + .../bindings-Itermacros-linux-aarch64-R4.4.rs | 9 + ...ngs-Itermacros-linux-aarch64-R4.5-devel.rs | 9 + .../bindings-Itermacros-linux-x86_64-R4.3.rs | 9 + .../bindings-Itermacros-linux-x86_64-R4.4.rs | 9 + ...ings-Itermacros-linux-x86_64-R4.5-devel.rs | 9 + .../bindings-Itermacros-macos-aarch64-R4.3.rs | 9 + .../bindings-Itermacros-macos-aarch64-R4.4.rs | 9 + ...ngs-Itermacros-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Itermacros-macos-x86_64-R4.4.rs | 9 + ...bindings-Itermacros-windows-x86_64-R4.3.rs | 9 + ...bindings-Itermacros-windows-x86_64-R4.4.rs | 9 + ...gs-Itermacros-windows-x86_64-R4.5-devel.rs | 9 + .../bindings-Lapack-linux-aarch64-R4.3.rs | 5755 ++++++++++++++ .../bindings-Lapack-linux-aarch64-R4.4.rs | 6145 +++++++++++++++ ...indings-Lapack-linux-aarch64-R4.5-devel.rs | 6145 +++++++++++++++ .../bindings-Lapack-linux-x86_64-R4.3.rs | 5755 ++++++++++++++ .../bindings-Lapack-linux-x86_64-R4.4.rs | 6145 +++++++++++++++ ...bindings-Lapack-linux-x86_64-R4.5-devel.rs | 6145 +++++++++++++++ .../bindings-Lapack-macos-aarch64-R4.3.rs | 6045 ++++++++++++++ .../bindings-Lapack-macos-aarch64-R4.4.rs | 6439 +++++++++++++++ ...indings-Lapack-macos-aarch64-R4.5-devel.rs | 296 +- .../bindings-Lapack-macos-x86_64-R4.4.rs | 6439 +++++++++++++++ .../bindings-Lapack-windows-x86_64-R4.3.rs | 6616 ++++++++++++++++ .../bindings-Lapack-windows-x86_64-R4.4.rs | 7018 +++++++++++++++++ ...ndings-Lapack-windows-x86_64-R4.5-devel.rs | 7018 +++++++++++++++++ .../bindings-Linpack-linux-aarch64-R4.3.rs | 330 + .../bindings-Linpack-linux-aarch64-R4.4.rs | 330 + ...ndings-Linpack-linux-aarch64-R4.5-devel.rs | 330 + .../bindings-Linpack-linux-x86_64-R4.3.rs | 330 + .../bindings-Linpack-linux-x86_64-R4.4.rs | 330 + ...indings-Linpack-linux-x86_64-R4.5-devel.rs | 330 + .../bindings-Linpack-macos-aarch64-R4.3.rs | 332 + .../bindings-Linpack-macos-aarch64-R4.4.rs | 332 + ...ndings-Linpack-macos-aarch64-R4.5-devel.rs | 4 +- .../bindings-Linpack-macos-x86_64-R4.4.rs | 332 + .../bindings-Linpack-windows-x86_64-R4.3.rs | 1200 +++ .../bindings-Linpack-windows-x86_64-R4.4.rs | 345 + ...dings-Linpack-windows-x86_64-R4.5-devel.rs | 345 + ...bindings-MathThreads-linux-aarch64-R4.3.rs | 12 + ...bindings-MathThreads-linux-aarch64-R4.4.rs | 12 + ...gs-MathThreads-linux-aarch64-R4.5-devel.rs | 12 + .../bindings-MathThreads-linux-x86_64-R4.3.rs | 12 + .../bindings-MathThreads-linux-x86_64-R4.4.rs | 12 + ...ngs-MathThreads-linux-x86_64-R4.5-devel.rs | 12 + ...bindings-MathThreads-macos-aarch64-R4.3.rs | 12 + ...bindings-MathThreads-macos-aarch64-R4.4.rs | 12 + ...gs-MathThreads-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-MathThreads-macos-x86_64-R4.4.rs | 12 + ...indings-MathThreads-windows-x86_64-R4.3.rs | 12 + ...indings-MathThreads-windows-x86_64-R4.4.rs | 12 + ...s-MathThreads-windows-x86_64-R4.5-devel.rs | 12 + .../bindings-Memory-linux-aarch64-R4.3.rs | 32 + .../bindings-Memory-linux-aarch64-R4.4.rs | 32 + ...indings-Memory-linux-aarch64-R4.5-devel.rs | 32 + .../bindings-Memory-linux-x86_64-R4.3.rs | 32 + .../bindings-Memory-linux-x86_64-R4.4.rs | 32 + ...bindings-Memory-linux-x86_64-R4.5-devel.rs | 32 + .../bindings-Memory-macos-aarch64-R4.3.rs | 32 + .../bindings-Memory-macos-aarch64-R4.4.rs | 32 + ...indings-Memory-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Memory-macos-x86_64-R4.4.rs | 32 + .../bindings-Memory-windows-x86_64-R4.3.rs | 32 + .../bindings-Memory-windows-x86_64-R4.4.rs | 32 + ...ndings-Memory-windows-x86_64-R4.5-devel.rs | 32 + .../bindings-Parse-linux-aarch64-R4.3.rs | 79 + .../bindings-Parse-linux-aarch64-R4.4.rs | 79 + ...bindings-Parse-linux-aarch64-R4.5-devel.rs | 79 + .../bindings-Parse-linux-x86_64-R4.3.rs | 88 + .../bindings-Parse-linux-x86_64-R4.4.rs | 88 + .../bindings-Parse-linux-x86_64-R4.5-devel.rs | 88 + .../bindings-Parse-macos-aarch64-R4.3.rs | 88 + .../bindings-Parse-macos-aarch64-R4.4.rs | 88 + ...bindings-Parse-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Parse-macos-x86_64-R4.4.rs | 96 + .../bindings-Parse-windows-x86_64-R4.3.rs | 1212 +++ .../bindings-Parse-windows-x86_64-R4.4.rs | 1214 +++ ...indings-Parse-windows-x86_64-R4.5-devel.rs | 1200 +++ .../bindings-Print-linux-aarch64-R4.3.rs | 15 + .../bindings-Print-linux-aarch64-R4.4.rs | 15 + ...bindings-Print-linux-aarch64-R4.5-devel.rs | 15 + .../bindings-Print-linux-x86_64-R4.3.rs | 24 + .../bindings-Print-linux-x86_64-R4.4.rs | 24 + .../bindings-Print-linux-x86_64-R4.5-devel.rs | 24 + .../bindings-Print-macos-aarch64-R4.3.rs | 16 + .../bindings-Print-macos-aarch64-R4.4.rs | 16 + ...bindings-Print-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Print-macos-x86_64-R4.4.rs | 24 + .../bindings-Print-windows-x86_64-R4.3.rs | 17 + .../bindings-Print-windows-x86_64-R4.4.rs | 17 + ...indings-Print-windows-x86_64-R4.5-devel.rs | 17 + .../bindings-PrtUtil-linux-aarch64-R4.3.rs | 106 + .../bindings-PrtUtil-linux-aarch64-R4.4.rs | 106 + ...ndings-PrtUtil-linux-aarch64-R4.5-devel.rs | 106 + .../bindings-PrtUtil-linux-x86_64-R4.3.rs | 115 + .../bindings-PrtUtil-linux-x86_64-R4.4.rs | 115 + ...indings-PrtUtil-linux-x86_64-R4.5-devel.rs | 115 + .../bindings-PrtUtil-macos-aarch64-R4.3.rs | 117 + .../bindings-PrtUtil-macos-aarch64-R4.4.rs | 117 + ...ndings-PrtUtil-macos-aarch64-R4.5-devel.rs | 4 +- .../bindings-PrtUtil-macos-x86_64-R4.4.rs | 125 + .../bindings-PrtUtil-windows-x86_64-R4.3.rs | 1239 +++ .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 1241 +++ ...dings-PrtUtil-windows-x86_64-R4.5-devel.rs | 1227 +++ ...indings-QuartzDevice-linux-aarch64-R4.3.rs | 239 + ...indings-QuartzDevice-linux-aarch64-R4.4.rs | 239 + ...s-QuartzDevice-linux-aarch64-R4.5-devel.rs | 239 + ...bindings-QuartzDevice-linux-x86_64-R4.3.rs | 239 + ...bindings-QuartzDevice-linux-x86_64-R4.4.rs | 239 + ...gs-QuartzDevice-linux-x86_64-R4.5-devel.rs | 239 + ...indings-QuartzDevice-macos-aarch64-R4.3.rs | 239 + ...indings-QuartzDevice-macos-aarch64-R4.4.rs | 239 + ...s-QuartzDevice-macos-aarch64-R4.5-devel.rs | 2 +- ...bindings-QuartzDevice-macos-x86_64-R4.4.rs | 239 + src/bindings/bindings-R-linux-aarch64-R4.3.rs | 15 + src/bindings/bindings-R-linux-aarch64-R4.4.rs | 15 + .../bindings-R-linux-aarch64-R4.5-devel.rs | 15 + src/bindings/bindings-R-linux-x86_64-R4.3.rs | 24 + src/bindings/bindings-R-linux-x86_64-R4.4.rs | 24 + .../bindings-R-linux-x86_64-R4.5-devel.rs | 24 + src/bindings/bindings-R-macos-aarch64-R4.3.rs | 17 + src/bindings/bindings-R-macos-aarch64-R4.4.rs | 17 + .../bindings-R-macos-aarch64-R4.5-devel.rs | 2 +- src/bindings/bindings-R-macos-x86_64-R4.4.rs | 25 + .../bindings-R-windows-x86_64-R4.3.rs | 283 + .../bindings-R-windows-x86_64-R4.4.rs | 283 + .../bindings-R-windows-x86_64-R4.5-devel.rs | 268 + .../bindings-RS-linux-aarch64-R4.3.rs | 17 + .../bindings-RS-linux-aarch64-R4.4.rs | 17 + .../bindings-RS-linux-aarch64-R4.5-devel.rs | 17 + src/bindings/bindings-RS-linux-x86_64-R4.3.rs | 17 + src/bindings/bindings-RS-linux-x86_64-R4.4.rs | 17 + .../bindings-RS-linux-x86_64-R4.5-devel.rs | 17 + .../bindings-RS-macos-aarch64-R4.3.rs | 17 + .../bindings-RS-macos-aarch64-R4.4.rs | 17 + .../bindings-RS-macos-aarch64-R4.5-devel.rs | 2 +- src/bindings/bindings-RS-macos-x86_64-R4.4.rs | 17 + .../bindings-RS-windows-x86_64-R4.3.rs | 25 + .../bindings-RS-windows-x86_64-R4.4.rs | 25 + .../bindings-RS-windows-x86_64-R4.5-devel.rs | 25 + .../bindings-RStartup-linux-aarch64-R4.3.rs | 172 + .../bindings-RStartup-linux-aarch64-R4.4.rs | 172 + ...dings-RStartup-linux-aarch64-R4.5-devel.rs | 172 + .../bindings-RStartup-linux-x86_64-R4.3.rs | 172 + .../bindings-RStartup-linux-x86_64-R4.4.rs | 172 + ...ndings-RStartup-linux-x86_64-R4.5-devel.rs | 172 + .../bindings-RStartup-macos-aarch64-R4.3.rs | 172 + .../bindings-RStartup-macos-aarch64-R4.4.rs | 172 + ...dings-RStartup-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-RStartup-macos-x86_64-R4.4.rs | 172 + .../bindings-RStartup-windows-x86_64-R4.3.rs | 181 + .../bindings-RStartup-windows-x86_64-R4.4.rs | 181 + ...ings-RStartup-windows-x86_64-R4.5-devel.rs | 181 + ...bindings-Rallocators-linux-aarch64-R4.3.rs | 27 + ...bindings-Rallocators-linux-aarch64-R4.4.rs | 27 + ...gs-Rallocators-linux-aarch64-R4.5-devel.rs | 27 + .../bindings-Rallocators-linux-x86_64-R4.3.rs | 27 + .../bindings-Rallocators-linux-x86_64-R4.4.rs | 27 + ...ngs-Rallocators-linux-x86_64-R4.5-devel.rs | 27 + ...bindings-Rallocators-macos-aarch64-R4.3.rs | 27 + ...bindings-Rallocators-macos-aarch64-R4.4.rs | 27 + ...gs-Rallocators-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rallocators-macos-x86_64-R4.4.rs | 27 + ...indings-Rallocators-windows-x86_64-R4.3.rs | 27 + ...indings-Rallocators-windows-x86_64-R4.4.rs | 27 + ...s-Rallocators-windows-x86_64-R4.5-devel.rs | 27 + .../bindings-Random-linux-aarch64-R4.3.rs | 54 + .../bindings-Random-linux-aarch64-R4.4.rs | 54 + ...indings-Random-linux-aarch64-R4.5-devel.rs | 54 + .../bindings-Random-linux-x86_64-R4.3.rs | 54 + .../bindings-Random-linux-x86_64-R4.4.rs | 54 + ...bindings-Random-linux-x86_64-R4.5-devel.rs | 54 + .../bindings-Random-macos-aarch64-R4.3.rs | 54 + .../bindings-Random-macos-aarch64-R4.4.rs | 54 + ...indings-Random-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Random-macos-x86_64-R4.4.rs | 54 + .../bindings-Random-windows-x86_64-R4.3.rs | 62 + .../bindings-Random-windows-x86_64-R4.4.rs | 62 + ...ndings-Random-windows-x86_64-R4.5-devel.rs | 62 + .../bindings-Rconfig-linux-aarch64-R4.3.rs | 18 + .../bindings-Rconfig-linux-aarch64-R4.4.rs | 18 + ...ndings-Rconfig-linux-aarch64-R4.5-devel.rs | 18 + .../bindings-Rconfig-linux-x86_64-R4.3.rs | 18 + .../bindings-Rconfig-linux-x86_64-R4.4.rs | 18 + ...indings-Rconfig-linux-x86_64-R4.5-devel.rs | 18 + .../bindings-Rconfig-macos-aarch64-R4.3.rs | 18 + .../bindings-Rconfig-macos-aarch64-R4.4.rs | 18 + ...ndings-Rconfig-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rconfig-macos-x86_64-R4.4.rs | 18 + .../bindings-Rconfig-windows-x86_64-R4.3.rs | 16 + .../bindings-Rconfig-windows-x86_64-R4.4.rs | 16 + ...dings-Rconfig-windows-x86_64-R4.5-devel.rs | 16 + .../bindings-Rdefines-linux-aarch64-R4.3.rs | 64 + .../bindings-Rdefines-linux-aarch64-R4.4.rs | 64 + ...dings-Rdefines-linux-aarch64-R4.5-devel.rs | 64 + .../bindings-Rdefines-linux-x86_64-R4.3.rs | 73 + .../bindings-Rdefines-linux-x86_64-R4.4.rs | 73 + ...ndings-Rdefines-linux-x86_64-R4.5-devel.rs | 73 + .../bindings-Rdefines-macos-aarch64-R4.3.rs | 73 + .../bindings-Rdefines-macos-aarch64-R4.4.rs | 73 + ...dings-Rdefines-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rdefines-macos-x86_64-R4.4.rs | 81 + .../bindings-Rdefines-windows-x86_64-R4.3.rs | 1222 +++ .../bindings-Rdefines-windows-x86_64-R4.4.rs | 1224 +++ ...ings-Rdefines-windows-x86_64-R4.5-devel.rs | 1210 +++ .../bindings-Rdynload-linux-aarch64-R4.3.rs | 81 + .../bindings-Rdynload-linux-aarch64-R4.4.rs | 81 + ...dings-Rdynload-linux-aarch64-R4.5-devel.rs | 83 + .../bindings-Rdynload-linux-x86_64-R4.3.rs | 81 + .../bindings-Rdynload-linux-x86_64-R4.4.rs | 81 + ...ndings-Rdynload-linux-x86_64-R4.5-devel.rs | 83 + .../bindings-Rdynload-macos-aarch64-R4.3.rs | 81 + .../bindings-Rdynload-macos-aarch64-R4.4.rs | 81 + ...dings-Rdynload-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rdynload-macos-x86_64-R4.4.rs | 81 + .../bindings-Rdynload-windows-x86_64-R4.3.rs | 89 + .../bindings-Rdynload-windows-x86_64-R4.4.rs | 89 + ...ings-Rdynload-windows-x86_64-R4.5-devel.rs | 91 + .../bindings-Rembedded-linux-aarch64-R4.3.rs | 19 + .../bindings-Rembedded-linux-aarch64-R4.4.rs | 19 + ...ings-Rembedded-linux-aarch64-R4.5-devel.rs | 19 + .../bindings-Rembedded-linux-x86_64-R4.3.rs | 19 + .../bindings-Rembedded-linux-x86_64-R4.4.rs | 19 + ...dings-Rembedded-linux-x86_64-R4.5-devel.rs | 19 + .../bindings-Rembedded-macos-aarch64-R4.3.rs | 19 + .../bindings-Rembedded-macos-aarch64-R4.4.rs | 19 + ...ings-Rembedded-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rembedded-macos-x86_64-R4.4.rs | 19 + .../bindings-Rembedded-windows-x86_64-R4.3.rs | 34 + .../bindings-Rembedded-windows-x86_64-R4.4.rs | 34 + ...ngs-Rembedded-windows-x86_64-R4.5-devel.rs | 34 + .../bindings-Riconv-linux-aarch64-R4.3.rs | 22 + .../bindings-Riconv-linux-aarch64-R4.4.rs | 22 + ...indings-Riconv-linux-aarch64-R4.5-devel.rs | 22 + .../bindings-Riconv-linux-x86_64-R4.3.rs | 22 + .../bindings-Riconv-linux-x86_64-R4.4.rs | 22 + ...bindings-Riconv-linux-x86_64-R4.5-devel.rs | 22 + .../bindings-Riconv-macos-aarch64-R4.3.rs | 22 + .../bindings-Riconv-macos-aarch64-R4.4.rs | 22 + ...indings-Riconv-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Riconv-macos-x86_64-R4.4.rs | 22 + .../bindings-Riconv-windows-x86_64-R4.3.rs | 22 + .../bindings-Riconv-windows-x86_64-R4.4.rs | 22 + ...ndings-Riconv-windows-x86_64-R4.5-devel.rs | 22 + .../bindings-Rinterface-linux-aarch64-R4.3.rs | 67 + .../bindings-Rinterface-linux-aarch64-R4.4.rs | 67 + ...ngs-Rinterface-linux-aarch64-R4.5-devel.rs | 67 + .../bindings-Rinterface-linux-x86_64-R4.3.rs | 67 + .../bindings-Rinterface-linux-x86_64-R4.4.rs | 67 + ...ings-Rinterface-linux-x86_64-R4.5-devel.rs | 67 + .../bindings-Rinterface-macos-aarch64-R4.3.rs | 74 + .../bindings-Rinterface-macos-aarch64-R4.4.rs | 74 + ...ngs-Rinterface-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rinterface-macos-x86_64-R4.4.rs | 74 + .../bindings-Rinternals-linux-aarch64-R4.3.rs | 954 +++ .../bindings-Rinternals-linux-aarch64-R4.4.rs | 956 +++ ...ngs-Rinternals-linux-aarch64-R4.5-devel.rs | 955 +++ .../bindings-Rinternals-linux-x86_64-R4.3.rs | 963 +++ .../bindings-Rinternals-linux-x86_64-R4.4.rs | 965 +++ ...ings-Rinternals-linux-x86_64-R4.5-devel.rs | 964 +++ .../bindings-Rinternals-macos-aarch64-R4.3.rs | 964 +++ .../bindings-Rinternals-macos-aarch64-R4.4.rs | 966 +++ ...ngs-Rinternals-macos-aarch64-R4.5-devel.rs | 15 +- .../bindings-Rinternals-macos-x86_64-R4.4.rs | 974 +++ ...bindings-Rinternals-windows-x86_64-R4.3.rs | 1196 +++ ...bindings-Rinternals-windows-x86_64-R4.4.rs | 1198 +++ ...gs-Rinternals-windows-x86_64-R4.5-devel.rs | 1184 +++ .../bindings-Rmath-linux-aarch64-R4.3.rs | 509 ++ .../bindings-Rmath-linux-aarch64-R4.4.rs | 510 ++ ...bindings-Rmath-linux-aarch64-R4.5-devel.rs | 510 ++ .../bindings-Rmath-linux-x86_64-R4.3.rs | 509 ++ .../bindings-Rmath-linux-x86_64-R4.4.rs | 510 ++ .../bindings-Rmath-linux-x86_64-R4.5-devel.rs | 510 ++ .../bindings-Rmath-macos-aarch64-R4.3.rs | 538 ++ .../bindings-Rmath-macos-aarch64-R4.4.rs | 539 ++ ...bindings-Rmath-macos-aarch64-R4.5-devel.rs | 31 +- .../bindings-Rmath-macos-x86_64-R4.4.rs | 539 ++ .../bindings-Rmath-windows-x86_64-R4.3.rs | 517 ++ .../bindings-Rmath-windows-x86_64-R4.4.rs | 518 ++ ...indings-Rmath-windows-x86_64-R4.5-devel.rs | 518 ++ .../bindings-Rversion-linux-aarch64-R4.3.rs | 17 + .../bindings-Rversion-linux-aarch64-R4.4.rs | 17 + ...dings-Rversion-linux-aarch64-R4.5-devel.rs | 17 + .../bindings-Rversion-linux-x86_64-R4.3.rs | 17 + .../bindings-Rversion-linux-x86_64-R4.4.rs | 17 + ...ndings-Rversion-linux-x86_64-R4.5-devel.rs | 17 + .../bindings-Rversion-macos-aarch64-R4.3.rs | 17 + .../bindings-Rversion-macos-aarch64-R4.4.rs | 17 + ...dings-Rversion-macos-aarch64-R4.5-devel.rs | 8 +- .../bindings-Rversion-macos-x86_64-R4.4.rs | 17 + .../bindings-Rversion-windows-x86_64-R4.3.rs | 17 + .../bindings-Rversion-windows-x86_64-R4.4.rs | 17 + ...ings-Rversion-windows-x86_64-R4.5-devel.rs | 17 + .../bindings-Utils-linux-aarch64-R4.3.rs | 108 + .../bindings-Utils-linux-aarch64-R4.4.rs | 108 + ...bindings-Utils-linux-aarch64-R4.5-devel.rs | 93 + .../bindings-Utils-linux-x86_64-R4.3.rs | 108 + .../bindings-Utils-linux-x86_64-R4.4.rs | 108 + .../bindings-Utils-linux-x86_64-R4.5-devel.rs | 93 + .../bindings-Utils-macos-aarch64-R4.3.rs | 108 + .../bindings-Utils-macos-aarch64-R4.4.rs | 108 + ...bindings-Utils-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Utils-macos-x86_64-R4.4.rs | 108 + .../bindings-Utils-windows-x86_64-R4.3.rs | 171 + .../bindings-Utils-windows-x86_64-R4.4.rs | 171 + ...indings-Utils-windows-x86_64-R4.5-devel.rs | 156 + .../bindings-Visibility-linux-aarch64-R4.3.rs | 8 + .../bindings-Visibility-linux-aarch64-R4.4.rs | 8 + ...ngs-Visibility-linux-aarch64-R4.5-devel.rs | 8 + .../bindings-Visibility-linux-x86_64-R4.3.rs | 8 + .../bindings-Visibility-linux-x86_64-R4.4.rs | 8 + ...ings-Visibility-linux-x86_64-R4.5-devel.rs | 8 + .../bindings-Visibility-macos-aarch64-R4.3.rs | 8 + .../bindings-Visibility-macos-aarch64-R4.4.rs | 8 + ...ngs-Visibility-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Visibility-macos-x86_64-R4.4.rs | 8 + ...bindings-Visibility-windows-x86_64-R4.3.rs | 16 + ...bindings-Visibility-windows-x86_64-R4.4.rs | 16 + ...gs-Visibility-windows-x86_64-R4.5-devel.rs | 16 + .../bindings-eventloop-linux-aarch64-R4.3.rs | 42 + .../bindings-eventloop-linux-aarch64-R4.4.rs | 42 + ...ings-eventloop-linux-aarch64-R4.5-devel.rs | 42 + .../bindings-eventloop-linux-x86_64-R4.3.rs | 42 + .../bindings-eventloop-linux-x86_64-R4.4.rs | 42 + ...dings-eventloop-linux-x86_64-R4.5-devel.rs | 42 + .../bindings-eventloop-macos-aarch64-R4.3.rs | 34 + .../bindings-eventloop-macos-aarch64-R4.4.rs | 34 + ...ings-eventloop-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-eventloop-macos-x86_64-R4.4.rs | 34 + .../bindings-ga-windows-x86_64-R4.3.rs | 909 +++ .../bindings-ga-windows-x86_64-R4.4.rs | 911 +++ .../bindings-ga-windows-x86_64-R4.5-devel.rs | 911 +++ .../bindings-graphapp-windows-x86_64-R4.3.rs | 598 ++ .../bindings-graphapp-windows-x86_64-R4.4.rs | 600 ++ ...ings-graphapp-windows-x86_64-R4.5-devel.rs | 600 ++ .../bindings-iconv-windows-x86_64-R4.3.rs | 33 + .../bindings-iconv-windows-x86_64-R4.4.rs | 33 + ...indings-iconv-windows-x86_64-R4.5-devel.rs | 33 + .../bindings-libextern-linux-aarch64-R4.3.rs | 8 + .../bindings-libextern-linux-aarch64-R4.4.rs | 8 + ...ings-libextern-linux-aarch64-R4.5-devel.rs | 8 + .../bindings-libextern-linux-x86_64-R4.3.rs | 8 + .../bindings-libextern-linux-x86_64-R4.4.rs | 8 + ...dings-libextern-linux-x86_64-R4.5-devel.rs | 8 + .../bindings-libextern-macos-aarch64-R4.3.rs | 8 + .../bindings-libextern-macos-aarch64-R4.4.rs | 8 + ...ings-libextern-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-libextern-macos-x86_64-R4.4.rs | 8 + .../bindings-libextern-windows-x86_64-R4.3.rs | 8 + .../bindings-libextern-windows-x86_64-R4.4.rs | 8 + ...ngs-libextern-windows-x86_64-R4.5-devel.rs | 8 + .../bindings-libintl-macos-aarch64-R4.3.rs | 57 + .../bindings-libintl-macos-aarch64-R4.4.rs | 57 + ...ndings-libintl-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-libintl-macos-x86_64-R4.4.rs | 57 + .../bindings-libintl-windows-x86_64-R4.3.rs | 58 + .../bindings-libintl-windows-x86_64-R4.4.rs | 58 + ...dings-libintl-windows-x86_64-R4.5-devel.rs | 58 + ...ndings-stats_package-linux-aarch64-R4.3.rs | 71 + ...ndings-stats_package-linux-aarch64-R4.4.rs | 71 + ...-stats_package-linux-aarch64-R4.5-devel.rs | 71 + ...indings-stats_package-linux-x86_64-R4.3.rs | 71 + ...indings-stats_package-linux-x86_64-R4.4.rs | 71 + ...s-stats_package-linux-x86_64-R4.5-devel.rs | 71 + ...ndings-stats_package-macos-aarch64-R4.3.rs | 118 + ...ndings-stats_package-macos-aarch64-R4.4.rs | 118 + ...-stats_package-macos-aarch64-R4.5-devel.rs | 2 +- ...indings-stats_package-macos-x86_64-R4.4.rs | 118 + ...dings-stats_package-windows-x86_64-R4.3.rs | 126 + ...dings-stats_package-windows-x86_64-R4.4.rs | 126 + ...stats_package-windows-x86_64-R4.5-devel.rs | 126 + ...bindings-stats_stubs-linux-aarch64-R4.3.rs | 61 + ...bindings-stats_stubs-linux-aarch64-R4.4.rs | 61 + ...gs-stats_stubs-linux-aarch64-R4.5-devel.rs | 61 + .../bindings-stats_stubs-linux-x86_64-R4.3.rs | 70 + .../bindings-stats_stubs-linux-x86_64-R4.4.rs | 70 + ...ngs-stats_stubs-linux-x86_64-R4.5-devel.rs | 70 + ...bindings-stats_stubs-macos-aarch64-R4.3.rs | 117 + ...bindings-stats_stubs-macos-aarch64-R4.4.rs | 117 + ...gs-stats_stubs-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-stats_stubs-macos-x86_64-R4.4.rs | 125 + ...indings-stats_stubs-windows-x86_64-R4.3.rs | 1304 +++ ...indings-stats_stubs-windows-x86_64-R4.4.rs | 1306 +++ ...s-stats_stubs-windows-x86_64-R4.5-devel.rs | 1292 +++ 550 files changed, 189955 insertions(+), 54 deletions(-) create mode 100644 src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Applic-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Applic-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Applic-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Applic-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Applic-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Applic-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Applic-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Applic-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Applic-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Arith-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Arith-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Arith-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Arith-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Arith-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Arith-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Arith-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Arith-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Arith-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Complex-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Complex-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Complex-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Complex-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Complex-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Complex-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Complex-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Complex-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Complex-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Connections-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Connections-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Connections-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Connections-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Connections-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Connections-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Connections-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Connections-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Connections-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Constants-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Constants-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Constants-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Constants-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Constants-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Constants-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Constants-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Constants-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Constants-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Error-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Error-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Error-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Error-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Error-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Error-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Error-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Error-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Error-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Memory-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Memory-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Memory-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Memory-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Memory-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Memory-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Memory-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Memory-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Memory-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Parse-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Parse-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Parse-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Parse-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Parse-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Parse-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Parse-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Parse-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Parse-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Print-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Print-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Print-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Print-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Print-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Print-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Print-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Print-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Print-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-R-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-R-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-R-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-R-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-R-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-R-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-R-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-R-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-R-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RS-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-RS-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RS-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-RS-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RS-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-RS-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-RS-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RS-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-RS-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Random-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Random-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Random-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Random-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Random-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Random-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Random-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Random-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Random-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Utils-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Utils-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Utils-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Utils-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Utils-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Utils-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Utils-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Utils-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Utils-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-ga-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-ga-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-iconv-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-iconv-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-libextern-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-libextern-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-libextern-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-libextern-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-libextern-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-libextern-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-libextern-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-libextern-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-libextern-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-libintl-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-libintl-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-libintl-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-libintl-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-libintl-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs create mode 100644 src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs create mode 100644 src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs create mode 100644 src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs create mode 100644 src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs create mode 100644 src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..b0a2aef2 --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs @@ -0,0 +1,305 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b3a09cde --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs @@ -0,0 +1,305 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f1074604 --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,305 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c1f290e3 --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs @@ -0,0 +1,314 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..9b01cd2b --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs @@ -0,0 +1,314 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..292ac095 --- /dev/null +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,314 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..9f2c913f --- /dev/null +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs @@ -0,0 +1,314 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..1ceb91f2 --- /dev/null +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs @@ -0,0 +1,314 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs index 21a9e94b..7a6bb7e6 100644 --- a/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..e57beebc --- /dev/null +++ b/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs @@ -0,0 +1,322 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..74a87a96 --- /dev/null +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -0,0 +1,1439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..fdf16e57 --- /dev/null +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -0,0 +1,1441 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..cdbed625 --- /dev/null +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1427 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.3.rs b/src/bindings/bindings-Applic-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..6165af5a --- /dev/null +++ b/src/bindings/bindings-Applic-linux-aarch64-R4.3.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs b/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..9b4038dd --- /dev/null +++ b/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..70adbb39 --- /dev/null +++ b/src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.3.rs b/src/bindings/bindings-Applic-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..6165af5a --- /dev/null +++ b/src/bindings/bindings-Applic-linux-x86_64-R4.3.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs b/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..9b4038dd --- /dev/null +++ b/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..70adbb39 --- /dev/null +++ b/src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..0c0b9c4c --- /dev/null +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..07f36234 --- /dev/null +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs index 28440c96..c2371923 100644 --- a/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -174,6 +174,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] pub fn dqrqty_( x: *mut f64, n: *mut ::std::os::raw::c_int, @@ -243,6 +244,7 @@ extern "C" { wrk: *mut f64, itncnt: *mut ::std::os::raw::c_int, ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] pub fn dqrdc2_( x: *mut f64, ldx: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs b/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..07f36234 --- /dev/null +++ b/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..8c9c1d64 --- /dev/null +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -0,0 +1,1150 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..4c4c6e56 --- /dev/null +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -0,0 +1,295 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..de277168 --- /dev/null +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,295 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.3.rs b/src/bindings/bindings-Arith-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..69c0b50e --- /dev/null +++ b/src/bindings/bindings-Arith-linux-aarch64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs b/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..f0e93900 --- /dev/null +++ b/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..61f419b0 --- /dev/null +++ b/src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.3.rs b/src/bindings/bindings-Arith-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..69c0b50e --- /dev/null +++ b/src/bindings/bindings-Arith-linux-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs b/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..f0e93900 --- /dev/null +++ b/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..61f419b0 --- /dev/null +++ b/src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..4f642812 --- /dev/null +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..c965e612 --- /dev/null +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs index ba5ea32e..f436d5fb 100644 --- a/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs b/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..c965e612 --- /dev/null +++ b/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..3d439b41 --- /dev/null +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d6001436 --- /dev/null +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..db47f20e --- /dev/null +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs b/src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..7401b357 --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs @@ -0,0 +1,810 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs b/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..842c69cf --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..4df2d061 --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs b/src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..7401b357 --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs @@ -0,0 +1,810 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..842c69cf --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..4df2d061 --- /dev/null +++ b/src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,822 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..c65b2100 --- /dev/null +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs @@ -0,0 +1,834 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..f13df447 --- /dev/null +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs index 55ed7df4..3c058beb 100644 --- a/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -82,6 +82,7 @@ extern "C" { dx: *const f64, incx: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgbmv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -98,6 +99,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgemv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -112,6 +114,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsbmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -126,6 +129,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -138,6 +142,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -151,6 +156,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtbmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -165,6 +171,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtpmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -177,6 +184,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtrmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -190,6 +198,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtbsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -204,6 +213,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtpsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -216,6 +226,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtrsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -229,6 +240,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] pub fn dger_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -240,6 +252,7 @@ extern "C" { a: *mut f64, lda: *const ::std::os::raw::c_int, ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dsyr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -250,6 +263,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dspr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -259,6 +273,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dsyr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -271,6 +286,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dspr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -282,6 +298,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] pub fn dgemm_( transa: *const ::std::os::raw::c_char, transb: *const ::std::os::raw::c_char, @@ -299,6 +316,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] pub fn dtrsm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -316,6 +334,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] pub fn dtrmm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -333,6 +352,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] pub fn dsymm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -349,6 +369,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] pub fn dsyrk_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -363,6 +384,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] pub fn dsyr2k_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -379,6 +401,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] pub fn dcabs1_(z: *const Rcomplex) -> f64; pub fn dzasum_( n: *const ::std::os::raw::c_int, @@ -410,6 +433,7 @@ extern "C" { zy: *const Rcomplex, incy: *const ::std::os::raw::c_int, ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] pub fn zdotc_( n: *const ::std::os::raw::c_int, zx: *const Rcomplex, @@ -807,6 +831,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] pub fn zspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..f13df447 --- /dev/null +++ b/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs @@ -0,0 +1,847 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..92f1de50 --- /dev/null +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -0,0 +1,880 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..65d2d6cc --- /dev/null +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -0,0 +1,892 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3b2f60cc --- /dev/null +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,892 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs b/src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..f7a3e078 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs b/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..74b40186 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..c81b8584 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs b/src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..f7a3e078 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..74b40186 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c81b8584 --- /dev/null +++ b/src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..dcacde99 --- /dev/null +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..b8bcbccf --- /dev/null +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs index db7f9dc1..3465b890 100644 --- a/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..b8bcbccf --- /dev/null +++ b/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..014472cf --- /dev/null +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..887c4c1d --- /dev/null +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..9bd87669 --- /dev/null +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..15024ebd --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs @@ -0,0 +1,140 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1a9d5f07 --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs @@ -0,0 +1,140 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..bb370ed8 --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,140 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..fa91b6ca --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs @@ -0,0 +1,149 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..6197a08c --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs @@ -0,0 +1,149 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..61781504 --- /dev/null +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,149 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..7e9c7b0f --- /dev/null +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs @@ -0,0 +1,149 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..9fc2f224 --- /dev/null +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs @@ -0,0 +1,149 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs index 9c33690f..59a978f3 100644 --- a/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ed35499d --- /dev/null +++ b/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs @@ -0,0 +1,157 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..2fcb79e1 --- /dev/null +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -0,0 +1,1276 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..e6c706c4 --- /dev/null +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -0,0 +1,1278 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..04acac1b --- /dev/null +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1264 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.3.rs b/src/bindings/bindings-Complex-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..267b3935 --- /dev/null +++ b/src/bindings/bindings-Complex-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs b/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..d7f40b13 --- /dev/null +++ b/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..3bfa0fbe --- /dev/null +++ b/src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.3.rs b/src/bindings/bindings-Complex-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..267b3935 --- /dev/null +++ b/src/bindings/bindings-Complex-linux-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs b/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..d7f40b13 --- /dev/null +++ b/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3bfa0fbe --- /dev/null +++ b/src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..5ffa6ca7 --- /dev/null +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..b5b8d848 --- /dev/null +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs index 111275cb..4371df2a 100644 --- a/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs b/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..b5b8d848 --- /dev/null +++ b/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..d12f5935 --- /dev/null +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..24a04d48 --- /dev/null +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f00ef901 --- /dev/null +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..b7c9f0e5 --- /dev/null +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs @@ -0,0 +1,155 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..5d795da8 --- /dev/null +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs @@ -0,0 +1,155 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..163ed1e4 --- /dev/null +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,155 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..bbe5374d --- /dev/null +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs @@ -0,0 +1,164 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..29a2c095 --- /dev/null +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs @@ -0,0 +1,164 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b343fb58 --- /dev/null +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,164 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..89ef846d --- /dev/null +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs @@ -0,0 +1,164 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..3509f4b8 --- /dev/null +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs @@ -0,0 +1,164 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs index 36351d17..b1a8e239 100644 --- a/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_CONNECTIONS_VERSION: u32 = 1; diff --git a/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs b/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..7df08df3 --- /dev/null +++ b/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..6aa19528 --- /dev/null +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -0,0 +1,1291 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b320261d --- /dev/null +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -0,0 +1,1293 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..0c16e3c6 --- /dev/null +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1279 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.3.rs b/src/bindings/bindings-Constants-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..8ceb4ef9 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs b/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..ce552136 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..064add97 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.3.rs b/src/bindings/bindings-Constants-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..8ceb4ef9 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs b/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..ce552136 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..064add97 --- /dev/null +++ b/src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..9cdcf5df --- /dev/null +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..0824764d --- /dev/null +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs index 8d6bbbe7..a909b4ae 100644 --- a/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs b/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..0824764d --- /dev/null +++ b/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..f5c99eda --- /dev/null +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..04a6f1cd --- /dev/null +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..96a99ce3 --- /dev/null +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.3.rs b/src/bindings/bindings-Error-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..8375bb3f --- /dev/null +++ b/src/bindings/bindings-Error-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.4.rs b/src/bindings/bindings-Error-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..f59903d9 --- /dev/null +++ b/src/bindings/bindings-Error-linux-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..de05cef2 --- /dev/null +++ b/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.3.rs b/src/bindings/bindings-Error-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..8375bb3f --- /dev/null +++ b/src/bindings/bindings-Error-linux-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.4.rs b/src/bindings/bindings-Error-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..ceb12133 --- /dev/null +++ b/src/bindings/bindings-Error-linux-x86_64-R4.4.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b6d49a7d --- /dev/null +++ b/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.3.rs b/src/bindings/bindings-Error-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..6ab606db --- /dev/null +++ b/src/bindings/bindings-Error-macos-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.4.rs b/src/bindings/bindings-Error-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..9b00ebc5 --- /dev/null +++ b/src/bindings/bindings-Error-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs index e2cc3e12..23cd9312 100644 --- a/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Error-macos-x86_64-R4.4.rs b/src/bindings/bindings-Error-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..0153a126 --- /dev/null +++ b/src/bindings/bindings-Error-macos-x86_64-R4.4.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.3.rs b/src/bindings/bindings-Error-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..faf4a01f --- /dev/null +++ b/src/bindings/bindings-Error-windows-x86_64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..49956b5c --- /dev/null +++ b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c170d9d0 --- /dev/null +++ b/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..528f04eb --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1495cb58 --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..28c0396d --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..528f04eb --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1495cb58 --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..28c0396d --- /dev/null +++ b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..8c4bfa56 --- /dev/null +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..c19f303a --- /dev/null +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs index f33d95b6..9b941b59 100644 --- a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs b/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..c19f303a --- /dev/null +++ b/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..ef3feab9 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs @@ -0,0 +1,405 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..4798cec1 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs @@ -0,0 +1,405 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..108bcdfe --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,405 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..5629b5e2 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs @@ -0,0 +1,414 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..cd7bb475 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs @@ -0,0 +1,414 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..4df9ca42 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,414 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d77805cb --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs @@ -0,0 +1,422 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..f7da91ae --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs @@ -0,0 +1,422 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs index faf5e682..d53068d5 100644 --- a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_USE_PROTOTYPES: u32 = 1; @@ -368,15 +368,22 @@ pub enum R_MouseEvent { } pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { + #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] pub fn R_CheckDeviceAvailable(); pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); pub fn Rf_NoDevices() -> ::std::os::raw::c_int; pub fn Rf_NewFrameConfirm(arg1: pDevDesc); @@ -394,6 +401,7 @@ extern "C" { pub static mut R_interrupts_pending: ::std::os::raw::c_int; pub fn Rf_onintr(); pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] pub fn Rf_AdobeSymbol2utf8( out: *mut ::std::os::raw::c_char, in_: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a8ad9939 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs @@ -0,0 +1,430 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..7475088f --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -0,0 +1,2061 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..61359766 --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -0,0 +1,2063 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c4f2912e --- /dev/null +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,2049 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..507180e3 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs @@ -0,0 +1,583 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c0a0b3e0 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs @@ -0,0 +1,583 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..cdadaddf --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,583 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c2bf65e8 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs @@ -0,0 +1,592 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..9eb24da8 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs @@ -0,0 +1,592 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..23fa179f --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,592 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..fddd37c8 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs @@ -0,0 +1,595 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..e6482119 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs @@ -0,0 +1,595 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs index 092ee108..bc6b3e25 100644 --- a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_GE_definitions: u32 = 13; @@ -256,6 +256,7 @@ pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; @@ -285,8 +286,10 @@ extern "C" { pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; diff --git a/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..b2c60a09 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs @@ -0,0 +1,603 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..7475088f --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -0,0 +1,2061 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..61359766 --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -0,0 +1,2063 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c4f2912e --- /dev/null +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,2049 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs b/src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..0671e8bd --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs b/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..83c77d7b --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1226ded3 --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs b/src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..0671e8bd --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..83c77d7b --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1226ded3 --- /dev/null +++ b/src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..19c43466 --- /dev/null +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..e326d406 --- /dev/null +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs index 1b49fcd9..41703cad 100644 --- a/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..e326d406 --- /dev/null +++ b/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..cffaec6f --- /dev/null +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..569fba0f --- /dev/null +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..27128d07 --- /dev/null +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs b/src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..71e41c6e --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs @@ -0,0 +1,5755 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs b/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..ebf2a83f --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..3c904b77 --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs b/src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..71e41c6e --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs @@ -0,0 +1,5755 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..ebf2a83f --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3c904b77 --- /dev/null +++ b/src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,6145 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ac6005c5 --- /dev/null +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs @@ -0,0 +1,6045 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..deac5bd4 --- /dev/null +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs index 2b97249a..e8ce3c49 100644 --- a/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -14,11 +14,13 @@ pub type L_fp = ::std::option::Option< ) -> *mut ::std::os::raw::c_int, >; extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] pub fn ilaver_( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, patch: *mut ::std::os::raw::c_int, ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] pub fn dbdsqr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -37,6 +39,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] pub fn ddisna_( job: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -46,6 +49,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] pub fn dgbbrd_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -67,6 +71,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dgbcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -82,6 +87,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] pub fn dgbequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -96,6 +102,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] pub fn dgbrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -118,6 +125,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] pub fn dgbsv_( n: *const ::std::os::raw::c_int, kl: *const ::std::os::raw::c_int, @@ -130,6 +138,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] pub fn dgbsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -158,6 +167,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -168,6 +178,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -178,6 +189,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] pub fn dgbtrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -192,6 +204,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] pub fn dgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -206,6 +219,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEBAL - balance a general real matrix A"] pub fn dgebal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -217,6 +231,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebd2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -229,6 +244,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -242,6 +258,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] pub fn dgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -254,6 +271,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] pub fn dgeequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -266,6 +284,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgees_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -287,6 +306,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgeesx_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -314,6 +334,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -332,6 +353,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeevx_( balanc: *const ::std::os::raw::c_char, jobvl: *const ::std::os::raw::c_char, @@ -361,6 +383,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehd2_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -371,6 +394,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehrd_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -382,6 +406,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] pub fn dgelq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -391,6 +416,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] pub fn dgelqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -401,6 +427,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] pub fn dgels_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -415,6 +442,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] pub fn dgelss_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -430,6 +458,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] pub fn dgelsy_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -445,6 +474,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] pub fn dgeql2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -454,6 +484,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] pub fn dgeqlf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -464,6 +495,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] pub fn dgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -475,6 +507,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] pub fn dgeqr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -484,6 +517,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] pub fn dgeqrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -494,6 +528,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dgerfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -514,6 +549,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] pub fn dgerq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -523,6 +559,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] pub fn dgerqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -533,6 +570,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -543,6 +581,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] pub fn dgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -561,6 +600,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] pub fn dgesvx_( fact: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -588,6 +628,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -596,6 +637,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -604,6 +646,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] pub fn dgetri_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -613,6 +656,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] pub fn dgetrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -625,6 +669,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] pub fn dggbak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -640,6 +685,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] pub fn dggbal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -655,6 +701,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] pub fn dgges_( jobvsl: *const ::std::os::raw::c_char, jobvsr: *const ::std::os::raw::c_char, @@ -686,6 +733,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] pub fn dggglm_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -701,6 +749,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] pub fn dgghrd_( compq: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -719,6 +768,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] pub fn dgglse_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -734,6 +784,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] pub fn dggqrf_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -748,6 +799,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] pub fn dggrqf_( m: *const ::std::os::raw::c_int, p: *const ::std::os::raw::c_int, @@ -762,6 +814,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] pub fn dgtcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -777,6 +830,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] pub fn dgtrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -800,6 +854,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] pub fn dgtsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -810,6 +865,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] pub fn dgtsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -835,6 +891,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] pub fn dgttrf_( n: *const ::std::os::raw::c_int, dl: *mut f64, @@ -844,6 +901,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] pub fn dgttrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -858,6 +916,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] pub fn dopgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -869,6 +928,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dopmtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -885,6 +945,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2l_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -895,6 +956,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2r_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -905,6 +967,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] pub fn dorgbr_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -918,6 +981,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] pub fn dorghr_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -929,6 +993,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgl2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -939,6 +1004,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] pub fn dorglq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -950,6 +1016,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgql_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -961,6 +1028,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgqr_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -972,6 +1040,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -982,6 +1051,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] pub fn dorgrq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -993,6 +1063,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] pub fn dorgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1004,6 +1075,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2l_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1020,6 +1092,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2r_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1036,6 +1109,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormbr_( vect: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1055,6 +1129,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormhr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1073,6 +1148,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorml2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1089,6 +1165,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormlq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1106,6 +1183,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormql_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1123,6 +1201,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1140,6 +1219,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dormr2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1156,6 +1236,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormrq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1173,6 +1254,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1191,6 +1273,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] pub fn dpbcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1204,6 +1287,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] pub fn dpbequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1216,6 +1300,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpbrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1236,6 +1321,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbstf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1245,6 +1331,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1257,6 +1344,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -1282,6 +1370,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1291,6 +1380,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1300,6 +1390,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] pub fn dpbtrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1312,6 +1403,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] pub fn dpocon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1324,6 +1416,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] pub fn dpoequ_( n: *const ::std::os::raw::c_int, a: *const f64, @@ -1333,6 +1426,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] pub fn dporfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1352,6 +1446,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1363,6 +1458,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -1387,6 +1483,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1395,6 +1492,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1403,6 +1501,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] pub fn dpotri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1411,6 +1510,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] pub fn dpotrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1422,6 +1522,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] pub fn dppcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1433,6 +1534,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] pub fn dppequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1443,6 +1545,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1460,6 +1563,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1470,6 +1574,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsvx_( fact: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1493,6 +1598,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] pub fn dpptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1500,6 +1606,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] pub fn dpptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1507,6 +1614,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] pub fn dpptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1517,6 +1625,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] pub fn dptcon_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -1526,6 +1635,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] pub fn dpteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1537,6 +1647,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] pub fn dptrfs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1553,6 +1664,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] pub fn dptsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1562,6 +1674,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] pub fn dptsvx_( fact: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1580,12 +1693,14 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] pub fn dpttrf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] pub fn dpttrs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1595,12 +1710,14 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] pub fn drscl_( n: *const ::std::os::raw::c_int, da: *const f64, x: *mut f64, incx: *const ::std::os::raw::c_int, ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1616,6 +1733,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1634,6 +1752,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -1661,6 +1780,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] pub fn dsbgst_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1678,6 +1798,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] pub fn dsbgv_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1696,6 +1817,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsbtrd_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1712,6 +1834,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dspcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1724,6 +1847,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1737,6 +1861,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1753,6 +1878,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -1776,6 +1902,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] pub fn dspgst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -1785,6 +1912,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] pub fn dspgv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -1801,6 +1929,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dsprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1819,6 +1948,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dspsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1830,6 +1960,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] pub fn dspsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -1850,6 +1981,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] pub fn dsptrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1860,6 +1992,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] pub fn dsptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1868,6 +2001,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] pub fn dsptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1877,6 +2011,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dsptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1888,6 +2023,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] pub fn dstebz_( range: *const ::std::os::raw::c_char, order: *const ::std::os::raw::c_char, @@ -1910,6 +2046,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] pub fn dstedc_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1924,6 +2061,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] pub fn dstein_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -1939,6 +2077,7 @@ extern "C" { ifail: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] pub fn dsteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1950,12 +2089,14 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] pub fn dsterf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] pub fn dstev_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1967,6 +2108,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] pub fn dstevd_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1981,6 +2123,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] pub fn dstevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2003,6 +2146,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] pub fn dsycon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2016,6 +2160,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2029,6 +2174,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2044,6 +2190,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] pub fn dsyevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2069,6 +2216,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevr_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2095,6 +2243,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygs2_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2106,6 +2255,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2117,6 +2267,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] pub fn dsygv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -2133,6 +2284,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] pub fn dsyrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2153,6 +2305,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dsysv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2167,6 +2320,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] pub fn dsysvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2190,6 +2344,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytd2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2201,6 +2356,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2210,6 +2366,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2223,6 +2380,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2234,6 +2392,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] pub fn dsytri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2244,6 +2403,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] pub fn dsytrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2256,6 +2416,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtbcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2272,6 +2433,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] pub fn dtbrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2294,6 +2456,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtbtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2310,6 +2473,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] pub fn dtgevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -2330,6 +2494,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] pub fn dtgsja_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -2360,6 +2525,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtpcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2374,6 +2540,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] pub fn dtprfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2394,6 +2561,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] pub fn dtptri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -2403,6 +2571,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtptrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2416,6 +2585,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] pub fn dtrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2431,6 +2601,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] pub fn dtrevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -2449,6 +2620,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] pub fn dtrexc_( compq: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2462,6 +2634,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] pub fn dtrrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2483,6 +2656,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] pub fn dtrsen_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -2505,6 +2679,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] pub fn dtrsna_( job: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -2527,6 +2702,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] pub fn dtrsyl_( trana: *const ::std::os::raw::c_char, tranb: *const ::std::os::raw::c_char, @@ -2544,6 +2720,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] pub fn dtrti2_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -2554,6 +2731,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] pub fn dtrtri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -2564,6 +2742,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] pub fn dtrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2579,6 +2758,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] pub fn dhgeqz_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -2604,6 +2784,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] pub fn dhsein_( side: *const ::std::os::raw::c_char, eigsrc: *const ::std::os::raw::c_char, @@ -2628,6 +2809,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] pub fn dhseqr_( job: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -2646,7 +2828,9 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] pub fn dlabrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2662,6 +2846,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] pub fn dlacon_( n: *const ::std::os::raw::c_int, v: *mut f64, @@ -2670,6 +2855,7 @@ extern "C" { est: *mut f64, kase: *mut ::std::os::raw::c_int, ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] pub fn dlacpy_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -2680,6 +2866,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLADIV - perform complex division in real arithmetic"] pub fn dladiv_( a: *const f64, b: *const f64, @@ -2688,7 +2875,9 @@ extern "C" { p: *mut f64, q: *mut f64, ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] pub fn dlaebz_( ijob: *const ::std::os::raw::c_int, nitmax: *const ::std::os::raw::c_int, @@ -2711,6 +2900,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] pub fn dlaed0_( icompq: *const ::std::os::raw::c_int, qsiz: *const ::std::os::raw::c_int, @@ -2725,6 +2915,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -2737,6 +2928,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed2_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2755,6 +2947,7 @@ extern "C" { coltyp: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] pub fn dlaed3_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2771,6 +2964,7 @@ extern "C" { s: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] pub fn dlaed4_( n: *const ::std::os::raw::c_int, i: *const ::std::os::raw::c_int, @@ -2781,6 +2975,7 @@ extern "C" { dlam: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] pub fn dlaed5_( i: *const ::std::os::raw::c_int, d: *const f64, @@ -2789,6 +2984,7 @@ extern "C" { rho: *const f64, dlam: *mut f64, ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] pub fn dlaed6_( kniter: *const ::std::os::raw::c_int, orgati: *const ::std::os::raw::c_int, @@ -2799,6 +2995,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed7_( icompq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2823,6 +3020,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed8_( icompq: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -2847,6 +3045,7 @@ extern "C" { indx: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] pub fn dlaed9_( k: *const ::std::os::raw::c_int, kstart: *const ::std::os::raw::c_int, @@ -2862,6 +3061,7 @@ extern "C" { lds: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] pub fn dlaeda_( n: *const ::std::os::raw::c_int, tlvls: *const ::std::os::raw::c_int, @@ -2878,6 +3078,7 @@ extern "C" { ztemp: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] pub fn dlaein_( rightv: *const ::std::os::raw::c_int, noinit: *const ::std::os::raw::c_int, @@ -2896,6 +3097,7 @@ extern "C" { bignum: *const f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] pub fn dlaev2_( a: *const f64, b: *const f64, @@ -2905,6 +3107,7 @@ extern "C" { cs1: *mut f64, sn1: *mut f64, ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] pub fn dlaexc_( wantq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2918,6 +3121,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] pub fn dlag2_( a: *const f64, lda: *const ::std::os::raw::c_int, @@ -2930,6 +3134,7 @@ extern "C" { wr2: *mut f64, wi: *mut f64, ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] pub fn dlags2_( upper: *const ::std::os::raw::c_int, a1: *const f64, @@ -2945,6 +3150,7 @@ extern "C" { csq: *mut f64, snq: *mut f64, ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] pub fn dlagtf_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -2956,6 +3162,7 @@ extern "C" { in_: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] pub fn dlagtm_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2971,6 +3178,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] pub fn dlagts_( job: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2983,6 +3191,7 @@ extern "C" { tol: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] pub fn dlahqr_( wantt: *const ::std::os::raw::c_int, wantz: *const ::std::os::raw::c_int, @@ -2999,6 +3208,7 @@ extern "C" { ldz: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] pub fn dlaic1_( job: *const ::std::os::raw::c_int, j: *const ::std::os::raw::c_int, @@ -3010,6 +3220,7 @@ extern "C" { s: *mut f64, c: *mut f64, ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] pub fn dlaln2_( ltrans: *const ::std::os::raw::c_int, na: *const ::std::os::raw::c_int, @@ -3030,7 +3241,9 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAMCH - determine double precision machine parameters"] pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] pub fn dlamrg_( n1: *const ::std::os::raw::c_int, n2: *const ::std::os::raw::c_int, @@ -3039,6 +3252,7 @@ extern "C" { dtrd2: *const ::std::os::raw::c_int, index: *mut ::std::os::raw::c_int, ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] pub fn dlangb_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3049,6 +3263,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] pub fn dlange_( norm: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3058,6 +3273,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] pub fn dlangt_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3066,6 +3282,7 @@ extern "C" { du: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] pub fn dlanhs_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3074,6 +3291,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] pub fn dlansb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3085,6 +3303,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] pub fn dlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3094,6 +3313,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] pub fn dlanst_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3101,6 +3321,7 @@ extern "C" { e: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] pub fn dlansy_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3111,6 +3332,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] pub fn dlantb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3124,6 +3346,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] pub fn dlantp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3135,6 +3358,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] pub fn dlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3148,6 +3372,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] pub fn dlanv2_( a: *mut f64, b: *mut f64, @@ -3160,6 +3385,7 @@ extern "C" { cs: *mut f64, sn: *mut f64, ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] pub fn dlapll_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -3168,6 +3394,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, ssmin: *mut f64, ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] pub fn dlapmt_( forwrd: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -3176,8 +3403,11 @@ extern "C" { ldx: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] pub fn dlaqgb_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3193,6 +3423,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] pub fn dlaqge_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3206,6 +3437,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] pub fn dlaqsb_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3219,6 +3451,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsp_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3229,6 +3462,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsy_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3240,6 +3474,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] pub fn dlaqtr_( ltran: *const ::std::os::raw::c_int, lreal: *const ::std::os::raw::c_int, @@ -3253,6 +3488,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] pub fn dlar2v_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -3263,6 +3499,7 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarf_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3275,6 +3512,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] pub fn dlarfb_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3296,6 +3534,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] pub fn dlarfg_( n: *const ::std::os::raw::c_int, alpha: *const f64, @@ -3303,6 +3542,7 @@ extern "C" { incx: *const ::std::os::raw::c_int, tau: *mut f64, ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] pub fn dlarft_( direct: *const ::std::os::raw::c_char, storev: *const ::std::os::raw::c_char, @@ -3316,6 +3556,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarfx_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3327,6 +3568,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] pub fn dlargv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -3336,13 +3578,16 @@ extern "C" { c: *mut f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] pub fn dlarnv_( idist: *const ::std::os::raw::c_int, iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64, ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] pub fn dlartv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -3353,8 +3598,11 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] pub fn dlascl_( type_: *const ::std::os::raw::c_char, kl: *const ::std::os::raw::c_int, @@ -3368,6 +3616,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] pub fn dlaset_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3378,6 +3627,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] pub fn dlasq1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -3385,6 +3635,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] pub fn dlasq2_( m: *const ::std::os::raw::c_int, q: *mut f64, @@ -3398,6 +3649,7 @@ extern "C" { kend: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] pub fn dlasq3_( n: *mut ::std::os::raw::c_int, q: *mut f64, @@ -3414,6 +3666,7 @@ extern "C" { tol2: *const f64, small2: *const f64, ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] pub fn dlasq4_( n: *const ::std::os::raw::c_int, q: *const f64, @@ -3421,6 +3674,7 @@ extern "C" { tau: *mut f64, sup: *mut f64, ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] pub fn dlasr_( side: *const ::std::os::raw::c_char, pivot: *const ::std::os::raw::c_char, @@ -3435,6 +3689,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] pub fn dlasrt_( id: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3442,6 +3697,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] pub fn dlassq_( n: *const ::std::os::raw::c_int, x: *const f64, @@ -3449,6 +3705,7 @@ extern "C" { scale: *mut f64, sumsq: *mut f64, ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] pub fn dlasv2_( f: *const f64, g: *const f64, @@ -3460,6 +3717,7 @@ extern "C" { snl: *mut f64, csl: *mut f64, ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] pub fn dlaswp_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -3469,6 +3727,7 @@ extern "C" { ipiv: *const ::std::os::raw::c_int, incx: *const ::std::os::raw::c_int, ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] pub fn dlasy2_( ltranl: *const ::std::os::raw::c_int, ltranr: *const ::std::os::raw::c_int, @@ -3487,6 +3746,7 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] pub fn dlasyf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3500,6 +3760,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] pub fn dlatbs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3518,6 +3779,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] pub fn dlatps_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3534,6 +3796,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] pub fn dlatrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3546,6 +3809,7 @@ extern "C" { ldw: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] pub fn dlatrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3563,6 +3827,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauu2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3571,6 +3836,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauum_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3579,11 +3845,13 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] pub fn izmax1_( n: *const ::std::os::raw::c_int, cx: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] pub fn zgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3596,6 +3864,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] pub fn zgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -3606,6 +3875,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] pub fn zgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3618,6 +3888,7 @@ extern "C" { rwork: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] pub fn zunmqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3635,6 +3906,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRTRS solves triangular systems"] pub fn ztrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3650,6 +3922,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -3669,6 +3942,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] pub fn zheev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3683,6 +3957,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] pub fn zgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -3701,6 +3976,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] pub fn zlacn2_( n: *const ::std::os::raw::c_int, v: *mut Rcomplex, @@ -3709,6 +3985,7 @@ extern "C" { kase: *mut ::std::os::raw::c_int, isave: *mut ::std::os::raw::c_int, ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] pub fn zlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3728,6 +4005,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] pub fn zlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3741,11 +4019,13 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] pub fn dzsum1_( n: *const ::std::os::raw::c_int, CX: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] pub fn zpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3828,6 +4108,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] pub fn dbdsdc_( uplo: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3871,6 +4152,7 @@ extern "C" { jpiv: *mut ::std::os::raw::c_int, scale: *mut f64, ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] pub fn dgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4938,6 +5220,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] pub fn lsame_( ca: *const ::std::os::raw::c_char, cb: *const ::std::os::raw::c_char, @@ -5104,6 +5387,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] pub fn zgetri_( n: *mut ::std::os::raw::c_int, a: *mut Rcomplex, @@ -5497,6 +5781,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] pub fn zsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -5590,6 +5875,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] pub fn ztrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -5811,6 +6097,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -5846,6 +6133,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] pub fn zlanhp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -5974,6 +6262,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] pub fn dgegv_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -5995,6 +6284,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] pub fn dgeqpf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6005,6 +6295,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] pub fn dggsvd_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -6033,6 +6324,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] pub fn dtzrqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6041,6 +6333,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] pub fn dlahrd_( n: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -6053,6 +6346,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] pub fn dlatzm_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..deac5bd4 --- /dev/null +++ b/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs @@ -0,0 +1,6439 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..dd1bc6b8 --- /dev/null +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -0,0 +1,6616 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..9d915613 --- /dev/null +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -0,0 +1,7018 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..bf80e63a --- /dev/null +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,7018 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs b/src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..695f7524 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs b/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c6e757b5 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1bf27815 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs b/src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..695f7524 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..c6e757b5 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1bf27815 --- /dev/null +++ b/src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e85a4a8f --- /dev/null +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..4e8eaa97 --- /dev/null +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs index fa23e216..9f30e2f2 100644 --- a/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs @@ -1,12 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { + #[doc = "Double Precision LINPACK"] pub fn dpbfa_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, @@ -104,6 +105,7 @@ extern "C" { arg5: *mut ::std::os::raw::c_int, arg6: *mut ::std::os::raw::c_int, ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] pub fn dchdc_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..4e8eaa97 --- /dev/null +++ b/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..ea52fd70 --- /dev/null +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs @@ -0,0 +1,1200 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b2dc86e2 --- /dev/null +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -0,0 +1,345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ae545ed1 --- /dev/null +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs b/src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..2c8b3e40 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs b/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..79ada513 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1bfb6dc8 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs b/src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..2c8b3e40 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..79ada513 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1bfb6dc8 --- /dev/null +++ b/src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..2a4f58dd --- /dev/null +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..a469182f --- /dev/null +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs index 435f70bc..3fe01f1b 100644 --- a/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a469182f --- /dev/null +++ b/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4d338d97 --- /dev/null +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..df046ef5 --- /dev/null +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..555b02bf --- /dev/null +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.3.rs b/src/bindings/bindings-Memory-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..62408c87 --- /dev/null +++ b/src/bindings/bindings-Memory-linux-aarch64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs b/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..21c6acdd --- /dev/null +++ b/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..1d01a2af --- /dev/null +++ b/src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.3.rs b/src/bindings/bindings-Memory-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..62408c87 --- /dev/null +++ b/src/bindings/bindings-Memory-linux-x86_64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs b/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..21c6acdd --- /dev/null +++ b/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1d01a2af --- /dev/null +++ b/src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..6649dc3b --- /dev/null +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..4c022890 --- /dev/null +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs index ac36377e..ecb4846b 100644 --- a/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs b/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ce08c280 --- /dev/null +++ b/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..cf9f82fd --- /dev/null +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..7dee1609 --- /dev/null +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b4690e37 --- /dev/null +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..4de24c3f --- /dev/null +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs @@ -0,0 +1,79 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..decf6098 --- /dev/null +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs @@ -0,0 +1,79 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..24587e18 --- /dev/null +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,79 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..69a8f0d5 --- /dev/null +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..5299bd71 --- /dev/null +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3458f810 --- /dev/null +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..f733a6ca --- /dev/null +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..19c37315 --- /dev/null +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs @@ -0,0 +1,88 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs index 6c7c7935..622fa211 100644 --- a/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs b/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a6254054 --- /dev/null +++ b/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs @@ -0,0 +1,96 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..14b018d4 --- /dev/null +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -0,0 +1,1212 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..13067012 --- /dev/null +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -0,0 +1,1214 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..4d0aa90e --- /dev/null +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1200 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.3.rs b/src/bindings/bindings-Print-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..351bd141 --- /dev/null +++ b/src/bindings/bindings-Print-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.4.rs b/src/bindings/bindings-Print-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..2f67b116 --- /dev/null +++ b/src/bindings/bindings-Print-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..d13483ca --- /dev/null +++ b/src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.3.rs b/src/bindings/bindings-Print-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..eecad142 --- /dev/null +++ b/src/bindings/bindings-Print-linux-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.4.rs b/src/bindings/bindings-Print-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..b350b650 --- /dev/null +++ b/src/bindings/bindings-Print-linux-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..95bc0a69 --- /dev/null +++ b/src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.3.rs b/src/bindings/bindings-Print-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..20fd9d2a --- /dev/null +++ b/src/bindings/bindings-Print-macos-aarch64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.4.rs b/src/bindings/bindings-Print-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..1e56c143 --- /dev/null +++ b/src/bindings/bindings-Print-macos-aarch64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs index 7c2f7584..32258751 100644 --- a/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Print-macos-x86_64-R4.4.rs b/src/bindings/bindings-Print-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..abcf8bc8 --- /dev/null +++ b/src/bindings/bindings-Print-macos-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.3.rs b/src/bindings/bindings-Print-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4fa6b3a6 --- /dev/null +++ b/src/bindings/bindings-Print-windows-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..36b98753 --- /dev/null +++ b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..e6c6a451 --- /dev/null +++ b/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..ee8de634 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs @@ -0,0 +1,106 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1b3246e7 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs @@ -0,0 +1,106 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..0c8482e5 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,106 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..757fa01c --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs @@ -0,0 +1,115 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..10f3b612 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs @@ -0,0 +1,115 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..46a92022 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,115 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..0a86e328 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs @@ -0,0 +1,117 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..8caf37af --- /dev/null +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs @@ -0,0 +1,117 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs index a6f49841..cdf40e81 100644 --- a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -97,8 +97,10 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] pub fn Rf_printIntegerVector( arg1: *const ::std::os::raw::c_int, arg2: R_xlen_t, diff --git a/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..8c1b131d --- /dev/null +++ b/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs @@ -0,0 +1,125 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4a1eaa39 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -0,0 +1,1239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..91e333cf --- /dev/null +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -0,0 +1,1241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..959cc329 --- /dev/null +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1227 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..becfd085 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..2e232463 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..305da891 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..becfd085 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..2e232463 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..305da891 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..4fde13b4 --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..5a19198b --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs index 1d6dc981..593fc02e 100644 --- a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const QNPF_REDRAW: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs b/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..5a19198b --- /dev/null +++ b/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 16] = b"embedding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/src/bindings/bindings-R-linux-aarch64-R4.3.rs b/src/bindings/bindings-R-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..f49bf001 --- /dev/null +++ b/src/bindings/bindings-R-linux-aarch64-R4.3.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-linux-aarch64-R4.4.rs b/src/bindings/bindings-R-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..b4b0c0fe --- /dev/null +++ b/src/bindings/bindings-R-linux-aarch64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..40c39903 --- /dev/null +++ b/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-linux-x86_64-R4.3.rs b/src/bindings/bindings-R-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c4f66c5f --- /dev/null +++ b/src/bindings/bindings-R-linux-x86_64-R4.3.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-linux-x86_64-R4.4.rs b/src/bindings/bindings-R-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1602cbd8 --- /dev/null +++ b/src/bindings/bindings-R-linux-x86_64-R4.4.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f90e0986 --- /dev/null +++ b/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-macos-aarch64-R4.3.rs b/src/bindings/bindings-R-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..6db00897 --- /dev/null +++ b/src/bindings/bindings-R-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-macos-aarch64-R4.4.rs b/src/bindings/bindings-R-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..6a37d913 --- /dev/null +++ b/src/bindings/bindings-R-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs index 1a70be28..df6d23b7 100644 --- a/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; diff --git a/src/bindings/bindings-R-macos-x86_64-R4.4.rs b/src/bindings/bindings-R-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..8215de08 --- /dev/null +++ b/src/bindings/bindings-R-macos-x86_64-R4.4.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-windows-x86_64-R4.3.rs b/src/bindings/bindings-R-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..5ad6b30a --- /dev/null +++ b/src/bindings/bindings-R-windows-x86_64-R4.3.rs @@ -0,0 +1,283 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const PI: f64 = 3.141592653589793; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-windows-x86_64-R4.4.rs b/src/bindings/bindings-R-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..5dd603f0 --- /dev/null +++ b/src/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -0,0 +1,283 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const PI: f64 = 3.141592653589793; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..e7f7b758 --- /dev/null +++ b/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,268 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const PI: f64 = 3.141592653589793; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.3.rs b/src/bindings/bindings-RS-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..79588d9e --- /dev/null +++ b/src/bindings/bindings-RS-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.4.rs b/src/bindings/bindings-RS-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..c5faa979 --- /dev/null +++ b/src/bindings/bindings-RS-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..41accd78 --- /dev/null +++ b/src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.3.rs b/src/bindings/bindings-RS-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..79588d9e --- /dev/null +++ b/src/bindings/bindings-RS-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.4.rs b/src/bindings/bindings-RS-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..c5faa979 --- /dev/null +++ b/src/bindings/bindings-RS-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..41accd78 --- /dev/null +++ b/src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.3.rs b/src/bindings/bindings-RS-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..7d173cc4 --- /dev/null +++ b/src/bindings/bindings-RS-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.4.rs b/src/bindings/bindings-RS-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..d9cd3258 --- /dev/null +++ b/src/bindings/bindings-RS-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs index 09e1fa69..fe964941 100644 --- a/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-RS-macos-x86_64-R4.4.rs b/src/bindings/bindings-RS-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..d9cd3258 --- /dev/null +++ b/src/bindings/bindings-RS-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.3.rs b/src/bindings/bindings-RS-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..bacc8275 --- /dev/null +++ b/src/bindings/bindings-RS-windows-x86_64-R4.3.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..4cf8c912 --- /dev/null +++ b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ad660d1d --- /dev/null +++ b/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,25 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs b/src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..c298cf60 --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs b/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..79c6060e --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ee19ea3b --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs b/src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c298cf60 --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..79c6060e --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ee19ea3b --- /dev/null +++ b/src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..2b912236 --- /dev/null +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..1d046eb0 --- /dev/null +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs index c76401d1..5e2aff34 100644 --- a/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[repr(C)] diff --git a/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..1d046eb0 --- /dev/null +++ b/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..995be708 --- /dev/null +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -0,0 +1,181 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..941d6f16 --- /dev/null +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -0,0 +1,181 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b6837e8c --- /dev/null +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,181 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..113d179f --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..02a86e44 --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..68f839a7 --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..113d179f --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..02a86e44 --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..68f839a7 --- /dev/null +++ b/src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..a920d95f --- /dev/null +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..37b33345 --- /dev/null +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs index 393d099b..5c594835 100644 --- a/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..37b33345 --- /dev/null +++ b/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..14da545b --- /dev/null +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b4ba2546 --- /dev/null +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1e4c0ca4 --- /dev/null +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.3.rs b/src/bindings/bindings-Random-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..a800cd76 --- /dev/null +++ b/src/bindings/bindings-Random-linux-aarch64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.4.rs b/src/bindings/bindings-Random-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..cfa818ac --- /dev/null +++ b/src/bindings/bindings-Random-linux-aarch64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f81a55f5 --- /dev/null +++ b/src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.3.rs b/src/bindings/bindings-Random-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..a800cd76 --- /dev/null +++ b/src/bindings/bindings-Random-linux-x86_64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.4.rs b/src/bindings/bindings-Random-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..cfa818ac --- /dev/null +++ b/src/bindings/bindings-Random-linux-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f81a55f5 --- /dev/null +++ b/src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.3.rs b/src/bindings/bindings-Random-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ebc36cb5 --- /dev/null +++ b/src/bindings/bindings-Random-macos-aarch64-R4.3.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.4.rs b/src/bindings/bindings-Random-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..2e88e400 --- /dev/null +++ b/src/bindings/bindings-Random-macos-aarch64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs index cbed1fbd..4246bddc 100644 --- a/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Random-macos-x86_64-R4.4.rs b/src/bindings/bindings-Random-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..2e88e400 --- /dev/null +++ b/src/bindings/bindings-Random-macos-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.3.rs b/src/bindings/bindings-Random-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..380d17ca --- /dev/null +++ b/src/bindings/bindings-Random-windows-x86_64-R4.3.rs @@ -0,0 +1,62 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d050107c --- /dev/null +++ b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -0,0 +1,62 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6f7202a5 --- /dev/null +++ b/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,62 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..144e4078 --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..0e0aa0b7 --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..6b9c215b --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..144e4078 --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..0e0aa0b7 --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6b9c215b --- /dev/null +++ b/src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..c9e6f05b --- /dev/null +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ddbd5cf8 --- /dev/null +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs index bf6a67d6..7516658a 100644 --- a/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ddbd5cf8 --- /dev/null +++ b/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs @@ -0,0 +1,18 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..c567d116 --- /dev/null +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..787bbcd9 --- /dev/null +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1e8af109 --- /dev/null +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..fa38a27a --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs @@ -0,0 +1,64 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..13855d60 --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs @@ -0,0 +1,64 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..37c368d5 --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,64 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..fb1f98d2 --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs @@ -0,0 +1,73 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..a07b5eeb --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs @@ -0,0 +1,73 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..dbb7466f --- /dev/null +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,73 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..f0024b57 --- /dev/null +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs @@ -0,0 +1,73 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..d0281f3b --- /dev/null +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs @@ -0,0 +1,73 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs index ada51b3d..1333c457 100644 --- a/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const TRUE: u32 = 1; diff --git a/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..8cedd04a --- /dev/null +++ b/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type s_object = SEXPREC; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..e4c29879 --- /dev/null +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs @@ -0,0 +1,1222 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn qsort4_( + v: *mut f64, + indx: *mut ::std::os::raw::c_int, + ii: *mut ::std::os::raw::c_int, + jj: *mut ::std::os::raw::c_int, + ); + pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn interv_( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + rightmost_closed: *mut Rboolean, + all_inside: *mut Rboolean, + ilo: *mut ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..a9bcfbe6 --- /dev/null +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -0,0 +1,1224 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn qsort4_( + v: *mut f64, + indx: *mut ::std::os::raw::c_int, + ii: *mut ::std::os::raw::c_int, + jj: *mut ::std::os::raw::c_int, + ); + pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn interv_( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + rightmost_closed: *mut Rboolean, + all_inside: *mut Rboolean, + ilo: *mut ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6092959b --- /dev/null +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1210 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type s_object = SEXPREC; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn qsort4_( + v: *mut f64, + indx: *mut ::std::os::raw::c_int, + ii: *mut ::std::os::raw::c_int, + jj: *mut ::std::os::raw::c_int, + ); + pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn interv_( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + rightmost_closed: *mut Rboolean, + all_inside: *mut Rboolean, + ilo: *mut ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..583817a2 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..0512adb7 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..bb024f48 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..583817a2 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..0512adb7 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..bb024f48 --- /dev/null +++ b/src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,83 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..ca3c4dec --- /dev/null +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..fec5a60e --- /dev/null +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs index e031d62c..a3ea740d 100644 --- a/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..fec5a60e --- /dev/null +++ b/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..46c58b86 --- /dev/null +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -0,0 +1,89 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..e26b68ce --- /dev/null +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -0,0 +1,89 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..a0b87ead --- /dev/null +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,91 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..35ab0ee2 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..93bc7b06 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..35746b47 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..35ab0ee2 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..93bc7b06 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..35746b47 --- /dev/null +++ b/src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..80fca467 --- /dev/null +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ed1ac0e5 --- /dev/null +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs index 9377330a..70c0e9a8 100644 --- a/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ed1ac0e5 --- /dev/null +++ b/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..6b4041f1 --- /dev/null +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b9facfcd --- /dev/null +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f3f4c152 --- /dev/null +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs b/src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..674fdca8 --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs b/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..0c8d4229 --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..0eb50e5c --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs b/src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..674fdca8 --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..0c8d4229 --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..0eb50e5c --- /dev/null +++ b/src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..db2adbd9 --- /dev/null +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..95dd67ed --- /dev/null +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs index 808647de..0dd1350d 100644 --- a/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..95dd67ed --- /dev/null +++ b/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..2f7ae1d1 --- /dev/null +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..e7232844 --- /dev/null +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..c8c2ae04 --- /dev/null +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..a3802c5d --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..5340f821 --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..50949e9f --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..a3802c5d --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..5340f821 --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..50949e9f --- /dev/null +++ b/src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..4309b0cc --- /dev/null +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs @@ -0,0 +1,74 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..f7b9c41e --- /dev/null +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs @@ -0,0 +1,74 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs index f978677f..516c2263 100644 --- a/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..f7b9c41e --- /dev/null +++ b/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs @@ -0,0 +1,74 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..447e0288 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs @@ -0,0 +1,954 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..09c0d569 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs @@ -0,0 +1,956 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ed928f16 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,955 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..ff08ea58 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs @@ -0,0 +1,963 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..f883c422 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs @@ -0,0 +1,965 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..dfd31742 --- /dev/null +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,964 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..198a4b02 --- /dev/null +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs @@ -0,0 +1,964 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..1ad78280 --- /dev/null +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs @@ -0,0 +1,966 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs index bf32b08a..21acec00 100644 --- a/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_LEN_T_MAX: u32 = 2147483647; @@ -268,6 +268,8 @@ extern "C" { pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; pub fn Rf_isString(s: SEXP) -> Rboolean; pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; #[doc = "General Cons Cell Attributes"] pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; @@ -302,6 +304,7 @@ extern "C" { pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, i: R_xlen_t, @@ -512,6 +515,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -621,12 +625,6 @@ extern "C" { ce_out: cetype_t, subst: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; #[doc = "Calling a function with arguments evaluated"] pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; #[doc = "External pointer interface"] @@ -785,7 +783,6 @@ extern "C" { ); pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; #[doc = "slot management (in attrib.c)"] pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; @@ -816,7 +813,6 @@ extern "C" { pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); pub fn R_RunExitFinalizers(); @@ -845,6 +841,7 @@ extern "C" { pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; diff --git a/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..c0ec5eeb --- /dev/null +++ b/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs @@ -0,0 +1,974 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..fe54b7d7 --- /dev/null +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -0,0 +1,1196 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..59d80f9a --- /dev/null +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -0,0 +1,1198 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..7bb402a4 --- /dev/null +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1184 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..a0026b46 --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..77e70ab0 --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..f76841ba --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..a0026b46 --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..77e70ab0 --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..f76841ba --- /dev/null +++ b/src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,510 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e04237bf --- /dev/null +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..fc66400f --- /dev/null +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs index 5d920942..a9b29f45 100644 --- a/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; @@ -30,6 +30,7 @@ extern "C" { pub fn unif_rand() -> f64; pub fn R_unif_index(arg1: f64) -> f64; pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnorm5( arg1: f64, @@ -53,6 +54,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ); + #[doc = "Uniform Distribution"] pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_punif( arg1: f64, @@ -69,6 +71,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pgamma( arg1: f64, @@ -90,9 +93,11 @@ extern "C" { pub fn Rf_log1mexp(arg1: f64) -> f64; pub fn Rf_lgamma1p(arg1: f64) -> f64; pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbeta( arg1: f64, @@ -109,6 +114,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plnorm( arg1: f64, @@ -125,6 +131,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pchisq( arg1: f64, @@ -139,6 +146,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnchisq( arg1: f64, @@ -155,6 +163,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pf( arg1: f64, @@ -171,6 +180,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pt( arg1: f64, @@ -185,6 +195,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbinom( @@ -202,12 +213,14 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] pub fn Rf_rmultinom( arg1: ::std::os::raw::c_int, arg2: *mut f64, arg3: ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ); + #[doc = "Cauchy Distribution"] pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pcauchy( arg1: f64, @@ -224,6 +237,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pexp( arg1: f64, @@ -238,6 +252,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pgeom( arg1: f64, @@ -252,6 +267,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] pub fn Rf_dhyper( arg1: f64, arg2: f64, @@ -276,6 +292,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnbinom( arg1: f64, @@ -308,6 +325,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_ppois( @@ -323,6 +341,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pweibull( arg1: f64, @@ -339,6 +358,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plogis( arg1: f64, @@ -355,6 +375,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] pub fn Rf_dnbeta( arg1: f64, arg2: f64, @@ -379,6 +400,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; pub fn Rf_pnf( arg1: f64, @@ -396,6 +418,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Non-central Student t Distribution"] pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnt( arg1: f64, @@ -411,6 +434,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ) -> f64; + #[doc = "Studentized Range Distribution"] pub fn Rf_ptukey( arg1: f64, arg2: f64, @@ -427,6 +451,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pwilcox( arg1: f64, @@ -444,6 +469,7 @@ extern "C" { ) -> f64; pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_psignrank( arg1: f64, @@ -459,6 +485,7 @@ extern "C" { ) -> f64; pub fn Rf_rsignrank(arg1: f64) -> f64; pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] pub fn Rf_gammafn(arg1: f64) -> f64; pub fn Rf_lgammafn(arg1: f64) -> f64; pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; @@ -480,6 +507,7 @@ extern "C" { pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; @@ -488,6 +516,7 @@ extern "C" { pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] pub fn Rf_imax2( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..fc66400f --- /dev/null +++ b/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs @@ -0,0 +1,539 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..06315778 --- /dev/null +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs @@ -0,0 +1,517 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..f4547403 --- /dev/null +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -0,0 +1,518 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..3e34c5ab --- /dev/null +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,518 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..c481cadd --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..2e23834c --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_VERSION: u32 = 263168; +pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"04\0"; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86474; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..22468e22 --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"07\0"; +pub const R_SVN_REVISION: u32 = 86704; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..c481cadd --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..2e23834c --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const R_VERSION: u32 = 263168; +pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"04\0"; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86474; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..22468e22 --- /dev/null +++ b/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"07\0"; +pub const R_SVN_REVISION: u32 = 86704; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d002045d --- /dev/null +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..a58b8ba6 --- /dev/null +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_VERSION: u32 = 263168; +pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"04\0"; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86474; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs index 108ac414..47274f50 100644 --- a/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_VERSION: u32 = 263424; @@ -10,8 +10,8 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"04\0"; -pub const R_SVN_REVISION: u32 = 86521; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"08\0"; +pub const R_SVN_REVISION: u32 = 86709; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..a58b8ba6 --- /dev/null +++ b/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const R_VERSION: u32 = 263168; +pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"04\0"; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86474; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..25d25679 --- /dev/null +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..51f32b3a --- /dev/null +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const R_VERSION: u32 = 263168; +pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"04\0"; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86474; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..d9ed35f0 --- /dev/null +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"08\0"; +pub const R_SVN_REVISION: u32 = 86709; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.3.rs b/src/bindings/bindings-Utils-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..928a0e5d --- /dev/null +++ b/src/bindings/bindings-Utils-linux-aarch64-R4.3.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs b/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..7e3f55d7 --- /dev/null +++ b/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..9781ca21 --- /dev/null +++ b/src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,93 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.3.rs b/src/bindings/bindings-Utils-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..928a0e5d --- /dev/null +++ b/src/bindings/bindings-Utils-linux-x86_64-R4.3.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs b/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..7e3f55d7 --- /dev/null +++ b/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..9781ca21 --- /dev/null +++ b/src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,93 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..082c9fa8 --- /dev/null +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..28be84bb --- /dev/null +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs index f6b7f7c4..cdc426c1 100644 --- a/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs b/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..28be84bb --- /dev/null +++ b/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs @@ -0,0 +1,108 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..04aac99b --- /dev/null +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..eb780225 --- /dev/null +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -0,0 +1,171 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..45d92323 --- /dev/null +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,156 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs b/src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs b/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..8d43937d --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs b/src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..8d43937d --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..f2508481 --- /dev/null +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..7cf1c0ce --- /dev/null +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs index 62998645..e21502a2 100644 --- a/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..7cf1c0ce --- /dev/null +++ b/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..c567d116 --- /dev/null +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..787bbcd9 --- /dev/null +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1e8af109 --- /dev/null +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs b/src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..747682ce --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs b/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..a07f6fe6 --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..67a7051a --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs b/src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..747682ce --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs b/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..a07f6fe6 --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..67a7051a --- /dev/null +++ b/src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,42 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..9c68d2c2 --- /dev/null +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..d0cce6ee --- /dev/null +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs index 490eba9c..4b0203ef 100644 --- a/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const XActivity: u32 = 1; diff --git a/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs b/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..d0cce6ee --- /dev/null +++ b/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..aef8464a --- /dev/null +++ b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -0,0 +1,909 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + pub fn GA_gchangemenubar(mb: menubar); + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + pub fn GA_remove_menu_item(obj: menuitem); + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..9c2e4045 --- /dev/null +++ b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -0,0 +1,911 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + pub fn GA_gchangemenubar(mb: menubar); + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + pub fn GA_remove_menu_item(obj: menuitem); + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..4d65e17d --- /dev/null +++ b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,911 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + pub fn GA_gchangemenubar(mb: menubar); + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + pub fn GA_remove_menu_item(obj: menuitem); + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..a23b8c95 --- /dev/null +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs @@ -0,0 +1,598 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..1e60b31f --- /dev/null +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -0,0 +1,600 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6a36674b --- /dev/null +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,600 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + pub static mut GA_FixedFont: font; + pub static mut GA_ArrowCursor: cursor; + pub static mut GA_BlankCursor: cursor; + pub static mut GA_WatchCursor: cursor; + pub static mut GA_CaretCursor: cursor; + pub static mut GA_TextCursor: cursor; + pub static mut GA_HandCursor: cursor; + pub static mut GA_CrossCursor: cursor; + pub static mut GA_SystemFont: font; + pub static mut GA_Times: font; + pub static mut GA_Helvetica: font; + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..6ed8dea4 --- /dev/null +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d77b0fc2 --- /dev/null +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..49432d88 --- /dev/null +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.3.rs b/src/bindings/bindings-libextern-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/src/bindings/bindings-libextern-linux-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs b/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..8d43937d --- /dev/null +++ b/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.3.rs b/src/bindings/bindings-libextern-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..103a1820 --- /dev/null +++ b/src/bindings/bindings-libextern-linux-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs b/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..8d43937d --- /dev/null +++ b/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..eec336fe --- /dev/null +++ b/src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..f2508481 --- /dev/null +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..7cf1c0ce --- /dev/null +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs index 62998645..e21502a2 100644 --- a/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs b/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..7cf1c0ce --- /dev/null +++ b/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..175d6655 --- /dev/null +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..ff4a66ac --- /dev/null +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..d442c682 --- /dev/null +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..e5c94fa0 --- /dev/null +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..ac43fef1 --- /dev/null +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs index a091d34b..fa7117e4 100644 --- a/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs b/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..ac43fef1 --- /dev/null +++ b/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..701a2ffa --- /dev/null +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..caa7f14f --- /dev/null +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..8edf314f --- /dev/null +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs b/src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..012148d9 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs b/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..1ea1f4c3 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..ee6f5a70 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs b/src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..012148d9 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..1ea1f4c3 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..ee6f5a70 --- /dev/null +++ b/src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..d97581a5 --- /dev/null +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..7868ec56 --- /dev/null +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs index 4d3f3f8f..d4578056 100644 --- a/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..7868ec56 --- /dev/null +++ b/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..4a071d6f --- /dev/null +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs @@ -0,0 +1,126 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..0c0cf6f4 --- /dev/null +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -0,0 +1,126 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..6a479b45 --- /dev/null +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,126 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs new file mode 100644 index 00000000..df8fb01b --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs @@ -0,0 +1,61 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs new file mode 100644 index 00000000..48804ef2 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs @@ -0,0 +1,61 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs new file mode 100644 index 00000000..cd3ded86 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs @@ -0,0 +1,61 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs new file mode 100644 index 00000000..df59a7d0 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs @@ -0,0 +1,70 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs new file mode 100644 index 00000000..514a5af6 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs @@ -0,0 +1,70 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..1f45e6c8 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs @@ -0,0 +1,70 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs new file mode 100644 index 00000000..258cc410 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs @@ -0,0 +1,117 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs new file mode 100644 index 00000000..0d58cf5d --- /dev/null +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs @@ -0,0 +1,117 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs index d1166cf4..229e612a 100644 --- a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Apple clang version 15.0.0 (clang-1500.3.9.4) */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs new file mode 100644 index 00000000..1c66aea0 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs @@ -0,0 +1,125 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* r version: 4.4.0 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_va_list = __builtin_va_list; +pub type __darwin_off_t = __int64_t; +pub type va_list = __darwin_va_list; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs new file mode 100644 index 00000000..2f90855b --- /dev/null +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs @@ -0,0 +1,1304 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..71102dc8 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -0,0 +1,1306 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.4.0 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs new file mode 100644 index 00000000..b16433d4 --- /dev/null +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs @@ -0,0 +1,1292 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 16.0.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +pub const SINGLESXP: u32 = 302; +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} From c1cdf08146c303c6395d2c9c57ad31226335a74e Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 00:12:35 +0200 Subject: [PATCH 26/50] windows is not blocking correctly... --- build.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/build.rs b/build.rs index b02638bb..149a7ff2 100644 --- a/build.rs +++ b/build.rs @@ -530,6 +530,15 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let r_headers = fs_extra::dir::get_dir_content(r_include_path) .unwrap() .files; + let r_headers = r_headers + .into_iter() + .map(|x| { + let r_header_path = x.replace(r"\", r"/"); + let r_header_path_escaped = regex::escape(&r_header_path); + let r_header_path_escaped = format!("{r_header_path_escaped}.*"); + r_header_path_escaped + }) + .collect(); dbg!(&r_headers); // name to path @@ -589,14 +598,10 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // don't block current header being processed continue; } - // println!("blocking_the_rest: {}", &r_header); bindings = bindings.blocklist_file(other_r_header); } - let bindings = bindings - .generate() - // Unwrap the Result and panic on failure. - .expect("Unable to generate bindings"); + let bindings = bindings.generate().expect("Unable to generate bindings"); let binding_name = version_info.get_r_bindings_filename(&r_header_name, &target_os, &target_arch); From d2cdb8e179e720cc6dc17246d9741de0a23d2bde Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 00:13:14 +0200 Subject: [PATCH 27/50] [generate bindings] From 81ade9db00cf536cffabd37bed38f349b858d4d1 Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 00:17:35 +0200 Subject: [PATCH 28/50] ci: try again [generate bindings] --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 149a7ff2..217d4e51 100644 --- a/build.rs +++ b/build.rs @@ -530,7 +530,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let r_headers = fs_extra::dir::get_dir_content(r_include_path) .unwrap() .files; - let r_headers = r_headers + let r_headers: Vec<_> = r_headers .into_iter() .map(|x| { let r_header_path = x.replace(r"\", r"/"); From 353f7fca93591b447ee6261714c64ad6b3a98a90 Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 00:21:33 +0200 Subject: [PATCH 29/50] ci: try again [generate bindings] --- build.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/build.rs b/build.rs index 217d4e51..d31e27b2 100644 --- a/build.rs +++ b/build.rs @@ -530,16 +530,6 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let r_headers = fs_extra::dir::get_dir_content(r_include_path) .unwrap() .files; - let r_headers: Vec<_> = r_headers - .into_iter() - .map(|x| { - let r_header_path = x.replace(r"\", r"/"); - let r_header_path_escaped = regex::escape(&r_header_path); - let r_header_path_escaped = format!("{r_header_path_escaped}.*"); - r_header_path_escaped - }) - .collect(); - dbg!(&r_headers); // name to path let r_headers_to_path = r_headers @@ -598,6 +588,10 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // don't block current header being processed continue; } + + let other_r_header = other_r_header.replace(r"\", r"/"); + let other_r_header = regex::escape(&other_r_header); + bindings = bindings.blocklist_file(other_r_header); } From ad0c80316a527e34fb27a5421018369920a7e932 Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sun, 9 Jun 2024 22:38:57 +0000 Subject: [PATCH 30/50] Update bindings [skip ci] --- .../bindings-ga-windows-x86_64-R4.3.rs | 589 ----------------- .../bindings-ga-windows-x86_64-R4.4.rs | 591 ------------------ .../bindings-ga-windows-x86_64-R4.5-devel.rs | 591 ------------------ 3 files changed, 1771 deletions(-) diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs index aef8464a..d7916ab5 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -4,137 +4,6 @@ /* bindgen clang version: clang version 16.0.6 */ /* r version: 4.3.3 */ -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const D: u32 = 10; -pub const DornotS: u32 = 11; -pub const S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; pub const DblClick: u32 = 16; pub const Border: u32 = 269484032; pub const lSolid: u32 = 0; @@ -154,97 +23,8 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct gui_obj { - pub kind: ::std::os::raw::c_int, -} -pub type objptr = *mut gui_obj; -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -257,375 +37,6 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - pub static mut GA_FixedFont: font; - pub static mut GA_ArrowCursor: cursor; - pub static mut GA_BlankCursor: cursor; - pub static mut GA_WatchCursor: cursor; - pub static mut GA_CaretCursor: cursor; - pub static mut GA_TextCursor: cursor; - pub static mut GA_HandCursor: cursor; - pub static mut GA_CrossCursor: cursor; - pub static mut GA_SystemFont: font; - pub static mut GA_Times: font; - pub static mut GA_Helvetica: font; - pub static mut GA_Courier: font; pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs index 9c2e4045..9ce19eca 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -4,137 +4,6 @@ /* bindgen clang version: clang version 16.0.6 */ /* r version: 4.4.0 */ -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; pub const DblClick: u32 = 16; pub const Border: u32 = 269484032; pub const lSolid: u32 = 0; @@ -154,98 +23,8 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -258,376 +37,6 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - pub static mut GA_FixedFont: font; - pub static mut GA_ArrowCursor: cursor; - pub static mut GA_BlankCursor: cursor; - pub static mut GA_WatchCursor: cursor; - pub static mut GA_CaretCursor: cursor; - pub static mut GA_TextCursor: cursor; - pub static mut GA_HandCursor: cursor; - pub static mut GA_CrossCursor: cursor; - pub static mut GA_SystemFont: font; - pub static mut GA_Times: font; - pub static mut GA_Helvetica: font; - pub static mut GA_Courier: font; pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs index 4d65e17d..86dfdfab 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -4,137 +4,6 @@ /* bindgen clang version: clang version 16.0.6 */ /* r version: 4.5.0-devel */ -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; pub const DblClick: u32 = 16; pub const Border: u32 = 269484032; pub const lSolid: u32 = 0; @@ -154,98 +23,8 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -258,376 +37,6 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - pub static mut GA_FixedFont: font; - pub static mut GA_ArrowCursor: cursor; - pub static mut GA_BlankCursor: cursor; - pub static mut GA_WatchCursor: cursor; - pub static mut GA_CaretCursor: cursor; - pub static mut GA_TextCursor: cursor; - pub static mut GA_HandCursor: cursor; - pub static mut GA_CrossCursor: cursor; - pub static mut GA_SystemFont: font; - pub static mut GA_Times: font; - pub static mut GA_Helvetica: font; - pub static mut GA_Courier: font; pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); From 770789a0901bec32e4b0ef6701de7dbda57d34fb Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 01:11:19 +0200 Subject: [PATCH 31/50] another hail mary [generate bindings] --- build.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.rs b/build.rs index d31e27b2..fb440c4f 100644 --- a/build.rs +++ b/build.rs @@ -531,6 +531,14 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .unwrap() .files; + let r_headers: Vec<_> = r_headers + .into_iter() + .map(|x| { + let r_header_path = x.replace(r"\", r"/"); + r_header_path + }) + .collect(); + // name to path let r_headers_to_path = r_headers .iter() From 41a30a37380c895ed5f40ae44993e9097a9baf60 Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sun, 9 Jun 2024 23:23:33 +0000 Subject: [PATCH 32/50] Update bindings [skip ci] --- .../bindings-Altrep-windows-x86_64-R4.3.rs | 893 ----------- .../bindings-Altrep-windows-x86_64-R4.4.rs | 895 ----------- ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 894 ----------- ...indings-Connections-windows-x86_64-R4.3.rs | 892 ----------- ...indings-Connections-windows-x86_64-R4.4.rs | 894 ----------- ...s-Connections-windows-x86_64-R4.5-devel.rs | 893 ----------- ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 1415 ---------------- ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 1417 ----------------- ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 1416 ---------------- ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 895 ----------- ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 897 ----------- ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 896 ----------- .../bindings-Parse-windows-x86_64-R4.3.rs | 892 ----------- .../bindings-Parse-windows-x86_64-R4.4.rs | 894 ----------- ...indings-Parse-windows-x86_64-R4.5-devel.rs | 893 ----------- 15 files changed, 14976 deletions(-) diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs index 74a87a96..070af1e6 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,23 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -147,177 +129,7 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -615,711 +427,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs index fdf16e57..25e10ac3 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -148,177 +129,7 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -616,712 +427,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs index cdbed625..c28a0241 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -148,177 +129,7 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -603,711 +414,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs index 6aa19528..a3b07cdc 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,23 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; @@ -148,175 +130,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -583,709 +396,4 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); } diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs index b320261d..b020e097 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; @@ -149,175 +130,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -584,710 +396,4 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); } diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs index 0c16e3c6..c870d5e6 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; @@ -149,175 +130,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -571,709 +383,4 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); } diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs index 7475088f..d30e0d13 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,93 +62,10 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -217,262 +133,10 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -764,45 +428,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "IEEE NaN"] @@ -975,713 +600,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] @@ -1725,337 +643,4 @@ extern "C" { ) -> *const ::std::os::raw::c_char; #[doc = "Translates Unicode point to UTF-8"] pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); } diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs index 61359766..48c38133 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,94 +62,10 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -218,262 +133,10 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -765,45 +428,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "IEEE NaN"] @@ -976,714 +600,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] @@ -1727,337 +643,4 @@ extern "C" { ) -> *const ::std::os::raw::c_char; #[doc = "Translates Unicode point to UTF-8"] pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); } diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs index c4f2912e..c553c30b 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,94 +62,10 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -218,262 +133,10 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -765,45 +428,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "IEEE NaN"] @@ -963,713 +587,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] @@ -1713,337 +630,4 @@ extern "C" { ) -> *const ::std::os::raw::c_char; #[doc = "Translates Unicode point to UTF-8"] pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); } diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs index 7475088f..561fb582 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,23 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -217,175 +199,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -436,7 +249,6 @@ pub enum R_GE_linejoin { } #[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_GE_gcontext { #[doc = "pen colour (lines, text, borders, ...)"] pub col: ::std::os::raw::c_int, @@ -472,7 +284,6 @@ pub type pGEcontext = *mut R_GE_gcontext; pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -777,7 +588,6 @@ pub struct GESystemDesc { pub callback: GEcallback, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _GEDevDesc { #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] pub dev: pDevDesc, @@ -975,711 +785,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs index 61359766..73d1e139 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -218,175 +199,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -437,7 +249,6 @@ pub enum R_GE_linejoin { } #[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_GE_gcontext { #[doc = "pen colour (lines, text, borders, ...)"] pub col: ::std::os::raw::c_int, @@ -473,7 +284,6 @@ pub type pGEcontext = *mut R_GE_gcontext; pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -778,7 +588,6 @@ pub struct GESystemDesc { pub callback: GEcallback, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _GEDevDesc { #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] pub dev: pDevDesc, @@ -976,712 +785,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs index c4f2912e..bacd3e29 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -218,175 +199,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -437,7 +249,6 @@ pub enum R_GE_linejoin { } #[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct R_GE_gcontext { #[doc = "pen colour (lines, text, borders, ...)"] pub col: ::std::os::raw::c_int, @@ -473,7 +284,6 @@ pub type pGEcontext = *mut R_GE_gcontext; pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _DevDesc { #[doc = "left raster coordinate"] pub left: f64, @@ -778,7 +588,6 @@ pub struct GESystemDesc { pub callback: GEcallback, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _GEDevDesc { #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] pub dev: pDevDesc, @@ -963,711 +772,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs index 14b018d4..bbec893f 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,23 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -147,175 +129,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -498,711 +311,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs index 13067012..ddc0a784 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -148,175 +129,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -499,712 +311,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs index 4d0aa90e..aca3eb04 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -54,7 +54,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } impl ::std::cmp::Eq for __BindgenUnionField {} pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; pub const SUPPORT_UTF8: u32 = 1; @@ -63,24 +62,6 @@ pub const ENABLE_NLS: u32 = 1; pub const PR18534fixed: u32 = 1; pub const SIZEOF_SIZE_T: u32 = 8; pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] @@ -148,175 +129,6 @@ pub enum NativeSymbolType { R_FORTRAN_SYM = 3, R_EXTERNAL_SYM = 4, } -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -486,711 +298,6 @@ extern "C" { package: *const ::std::os::raw::c_char, name: *const ::std::os::raw::c_char, ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, From 6c1caab264447fb3d1db583c0a18f85211913b91 Mon Sep 17 00:00:00 2001 From: Mossa Date: Mon, 10 Jun 2024 01:56:19 +0200 Subject: [PATCH 33/50] this is correct, right? [generate bindings] --- build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.rs b/build.rs index fb440c4f..0330fbcb 100644 --- a/build.rs +++ b/build.rs @@ -586,6 +586,9 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { "GetX11Image" => { bindings = bindings.header(r_headers_to_path["Boolean"]); } + "Rinterface" => { + bindings = bindings.clang_arg("-DR_INTERFACE_PTRS") + } _ => {} } bindings = bindings.header(r_header); From 9904371c710994c6ef7fbeaab975170458ac123b Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 00:56:22 +0200 Subject: [PATCH 34/50] [generate bindings] --- build.rs | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/build.rs b/build.rs index 0330fbcb..e10cf9aa 100644 --- a/build.rs +++ b/build.rs @@ -458,7 +458,6 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // this effectively ignores all non-R headers from sneaking in bindgen_builder = bindgen_builder - .allowlist_file(r_include_path_escaped) .allowlist_file(".*mini_wrapper\\.h$"); // stops warning about ignored attributes, @@ -513,6 +512,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { // Finish the builder and generate the bindings. let bindgen_builder = bindgen_builder + .detect_include_paths(true) .raw_line(format!( "/* libR-sys version: {} */", env!("CARGO_PKG_VERSION") @@ -554,13 +554,25 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { }) .collect::>(); + let mut bindgen_builder = bindgen_builder; + #[cfg(windows)] + { + bindgen_builder = bindgen_builder.clang_args(["-DWin32", "-D_Win32"]); + } + let bindgen_builder = bindgen_builder; + // Write the bindings to the $OUT_DIR/bindings.rs file. let out_path = PathBuf::from(env::var_os("OUT_DIR").unwrap()); // dbg!(&out_path); for r_header in &r_headers { let r_header_name = Path::new(r_header).file_stem().unwrap().to_str().unwrap(); + + let r_header_regex = r_header.replace(r"\", r"/"); + let r_header_regex = regex::escape(&r_header_regex); + println!("cargo:warning=allowing {}", r_header_regex); // dbg!(r_header_name); let mut bindings = bindgen_builder.clone(); + bindings = bindings.allowlist_file(r_header_regex); match r_header_name { r"Complex" => { bindings = bindings.header("mini_Rcomplex.h"); @@ -586,9 +598,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { "GetX11Image" => { bindings = bindings.header(r_headers_to_path["Boolean"]); } - "Rinterface" => { - bindings = bindings.clang_arg("-DR_INTERFACE_PTRS") - } + "Rinterface" => bindings = bindings.clang_arg("-DR_INTERFACE_PTRS"), _ => {} } bindings = bindings.header(r_header); @@ -602,15 +612,14 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let other_r_header = other_r_header.replace(r"\", r"/"); let other_r_header = regex::escape(&other_r_header); - + // println!("cargo:warning=blocking {}", other_r_header); bindings = bindings.blocklist_file(other_r_header); } - let bindings = bindings.generate().expect("Unable to generate bindings"); - let binding_name = version_info.get_r_bindings_filename(&r_header_name, &target_os, &target_arch); - + // println!("cargo:warning=binding_name {}", &binding_name); + let bindings = bindings.generate().expect("Unable to generate bindings"); bindings .write_to_file(out_path.join(&binding_name)) .expect("Couldn't write bindings to default output path!"); From 3a19c448013a5f636bcbf2142feb89349901a3f9 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 00:58:32 +0200 Subject: [PATCH 35/50] locally generated bindings --- .../bindings-Altrep-windows-x86_64-R4.4.rs | 229 +-- .../bindings-Applic-windows-x86_64-R4.4.rs | 21 +- .../bindings-Arith-windows-x86_64-R4.4.rs | 4 +- .../bindings-BLAS-windows-x86_64-R4.4.rs | 44 +- .../bindings-Boolean-windows-x86_64-R4.4.rs | 4 +- .../bindings-Callbacks-windows-x86_64-R4.4.rs | 1185 +-------------- .../bindings-Complex-windows-x86_64-R4.4.rs | 4 +- ...indings-Connections-windows-x86_64-R4.4.rs | 289 +--- .../bindings-Constants-windows-x86_64-R4.4.rs | 4 +- .../bindings-Error-windows-x86_64-R4.4.rs | 11 +- ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 298 +--- ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 376 +---- ...bindings-Itermacros-windows-x86_64-R4.4.rs | 4 +- .../bindings-Lapack-windows-x86_64-R4.4.rs | 1134 ++++----------- .../bindings-Linpack-windows-x86_64-R4.4.rs | 21 +- ...indings-MathThreads-windows-x86_64-R4.4.rs | 4 +- .../bindings-Memory-windows-x86_64-R4.4.rs | 4 +- .../bindings-Parse-windows-x86_64-R4.4.rs | 298 +--- .../bindings-Print-windows-x86_64-R4.4.rs | 4 +- .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 1138 +-------------- .../bindings-R-windows-x86_64-R4.4.rs | 274 +--- .../bindings-RS-windows-x86_64-R4.4.rs | 12 +- .../bindings-RStartup-windows-x86_64-R4.4.rs | 58 +- ...indings-Rallocators-windows-x86_64-R4.4.rs | 4 +- .../bindings-Random-windows-x86_64-R4.4.rs | 12 +- .../bindings-Rconfig-windows-x86_64-R4.4.rs | 4 +- .../bindings-Rdefines-windows-x86_64-R4.4.rs | 1217 +--------------- .../bindings-Rdynload-windows-x86_64-R4.4.rs | 4 +- .../bindings-Rembedded-windows-x86_64-R4.4.rs | 4 +- .../bindings-Riconv-windows-x86_64-R4.4.rs | 4 +- ...bindings-Rinternals-windows-x86_64-R4.4.rs | 230 +-- .../bindings-Rmath-windows-x86_64-R4.4.rs | 43 +- .../bindings-Rversion-windows-x86_64-R4.4.rs | 16 +- .../bindings-Utils-windows-x86_64-R4.4.rs | 16 +- ...bindings-Visibility-windows-x86_64-R4.4.rs | 12 +- .../bindings-ga-windows-x86_64-R4.4.rs | 72 +- .../bindings-graphapp-windows-x86_64-R4.4.rs | 38 +- .../bindings-iconv-windows-x86_64-R4.4.rs | 4 +- .../bindings-libextern-windows-x86_64-R4.4.rs | 4 +- .../bindings-libintl-windows-x86_64-R4.4.rs | 4 +- ...dings-stats_package-windows-x86_64-R4.4.rs | 12 +- ...indings-stats_stubs-windows-x86_64-R4.4.rs | 1275 +---------------- 42 files changed, 643 insertions(+), 7752 deletions(-) diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs index 25e10ac3..69d27278 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -53,25 +53,8 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -86,28 +69,6 @@ pub struct Rcomplex { pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _DllInfo { @@ -115,21 +76,6 @@ pub struct _DllInfo { } pub type DllInfo = _DllInfo; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -#[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -255,178 +201,7 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs index 4c4c6e56..6dd5d09c 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] @@ -62,13 +54,6 @@ pub type d2fcn_p = ::std::option::Option< ), >; extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] pub fn Rdqags( f: integr_fn, @@ -197,6 +182,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] pub fn dqrqty_( x: *mut f64, n: *mut ::std::os::raw::c_int, @@ -266,6 +252,7 @@ extern "C" { wrk: *mut f64, itncnt: *mut ::std::os::raw::c_int, ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] pub fn dqrdc2_( x: *mut f64, ldx: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs index d6001436..c088d573 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs index 65d2d6cc..2a22c2c9 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -70,13 +62,6 @@ pub struct Rcomplex { pub bindgen_union_field: [u64; 2usize], } extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn dasum_( n: *const ::std::os::raw::c_int, dx: *const f64, @@ -152,6 +137,7 @@ extern "C" { dx: *const f64, incx: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgbmv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -168,6 +154,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgemv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -182,6 +169,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsbmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -196,6 +184,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -208,6 +197,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -221,6 +211,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtbmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -235,6 +226,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtpmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -247,6 +239,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtrmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -260,6 +253,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtbsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -274,6 +268,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtpsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -286,6 +281,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtrsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -299,6 +295,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] pub fn dger_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -310,6 +307,7 @@ extern "C" { a: *mut f64, lda: *const ::std::os::raw::c_int, ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dsyr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -320,6 +318,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dspr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -329,6 +328,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dsyr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -341,6 +341,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dspr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -352,6 +353,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] pub fn dgemm_( transa: *const ::std::os::raw::c_char, transb: *const ::std::os::raw::c_char, @@ -369,6 +371,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] pub fn dtrsm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -386,6 +389,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] pub fn dtrmm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -403,6 +407,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] pub fn dsymm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -419,6 +424,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] pub fn dsyrk_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -433,6 +439,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] pub fn dsyr2k_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -449,6 +456,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] pub fn dcabs1_(z: *const Rcomplex) -> f64; pub fn dzasum_( n: *const ::std::os::raw::c_int, @@ -480,6 +488,7 @@ extern "C" { zy: *const Rcomplex, incy: *const ::std::os::raw::c_int, ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] pub fn zdotc_( n: *const ::std::os::raw::c_int, zx: *const Rcomplex, @@ -877,6 +886,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] pub fn zspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs index 887c4c1d..35e8d787 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs index e6c706c4..3ab5432c 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -1,96 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -99,224 +14,7 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -397,882 +95,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs index 24a04d48..28e3133e 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs index b020e097..5591dfee 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -1,78 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -81,55 +17,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -225,175 +112,3 @@ pub struct Rconn { pub buff_pos: usize, } pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs index 04a6f1cd..968134eb 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs index 49956b5c..d3d3fdc8 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -1,19 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs index 48c38133..3c38f419 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -1,81 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -84,55 +18,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -428,187 +313,23 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; + #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] pub fn R_CheckDeviceAvailable(); pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); pub fn Rf_NoDevices() -> ::std::os::raw::c_int; pub fn Rf_NewFrameConfirm(arg1: pDevDesc); @@ -626,6 +347,7 @@ extern "C" { pub static mut R_interrupts_pending: ::std::os::raw::c_int; pub fn Rf_onintr(); pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] pub fn Rf_AdobeSymbol2utf8( out: *mut ::std::os::raw::c_char, in_: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs index 73d1e139..f5874a1e 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -1,77 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; pub const R_GE_glyphs: u32 = 16; pub const R_GE_version: u32 = 16; pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; pub const LTY_BLANK: i32 = -1; pub const LTY_SOLID: u32 = 0; pub const LTY_DASHED: u32 = 68; @@ -132,16 +70,8 @@ pub const R_GE_capability_glyphs: u32 = 12; pub const R_GE_text_style_normal: u32 = 1; pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -150,55 +80,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -539,42 +420,6 @@ pub struct _DevDesc { #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] pub reserved: [::std::os::raw::c_char; 64usize], } -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, @@ -613,223 +458,10 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + #[doc = "map DevDesc to enclosing GEDevDesc"] pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; @@ -859,8 +491,10 @@ extern "C" { pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs index 569fba0f..a58cd0ba 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs index 9d915613..cc923826 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -77,830 +69,13 @@ pub type L_fp = ::std::option::Option< ) -> *mut ::std::os::raw::c_int, >; extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] pub fn ilaver_( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, patch: *mut ::std::os::raw::c_int, ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] pub fn dbdsqr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -919,6 +94,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] pub fn ddisna_( job: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -928,6 +104,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] pub fn dgbbrd_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -949,6 +126,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dgbcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -964,6 +142,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] pub fn dgbequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -978,6 +157,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] pub fn dgbrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1000,6 +180,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] pub fn dgbsv_( n: *const ::std::os::raw::c_int, kl: *const ::std::os::raw::c_int, @@ -1012,6 +193,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] pub fn dgbsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1040,6 +222,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1050,6 +233,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1060,6 +244,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] pub fn dgbtrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1074,6 +259,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] pub fn dgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1088,6 +274,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEBAL - balance a general real matrix A"] pub fn dgebal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1099,6 +286,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebd2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1111,6 +299,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1124,6 +313,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] pub fn dgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1136,6 +326,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] pub fn dgeequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1148,6 +339,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgees_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1169,6 +361,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgeesx_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1196,6 +389,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -1214,6 +408,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeevx_( balanc: *const ::std::os::raw::c_char, jobvl: *const ::std::os::raw::c_char, @@ -1243,6 +438,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehd2_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1253,6 +449,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehrd_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1264,6 +461,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] pub fn dgelq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1273,6 +471,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] pub fn dgelqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1283,6 +482,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] pub fn dgels_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1297,6 +497,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] pub fn dgelss_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1312,6 +513,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] pub fn dgelsy_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1327,6 +529,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] pub fn dgeql2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1336,6 +539,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] pub fn dgeqlf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1346,6 +550,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] pub fn dgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1357,6 +562,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] pub fn dgeqr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1366,6 +572,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] pub fn dgeqrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1376,6 +583,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dgerfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1396,6 +604,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] pub fn dgerq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1405,6 +614,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] pub fn dgerqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1415,6 +625,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1425,6 +636,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] pub fn dgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -1443,6 +655,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] pub fn dgesvx_( fact: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1470,6 +683,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1478,6 +692,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1486,6 +701,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] pub fn dgetri_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -1495,6 +711,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] pub fn dgetrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1507,6 +724,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] pub fn dggbak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1522,6 +740,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] pub fn dggbal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1537,6 +756,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] pub fn dgges_( jobvsl: *const ::std::os::raw::c_char, jobvsr: *const ::std::os::raw::c_char, @@ -1568,6 +788,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] pub fn dggglm_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1583,6 +804,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] pub fn dgghrd_( compq: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -1601,6 +823,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] pub fn dgglse_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1616,6 +839,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] pub fn dggqrf_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1630,6 +854,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] pub fn dggrqf_( m: *const ::std::os::raw::c_int, p: *const ::std::os::raw::c_int, @@ -1644,6 +869,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] pub fn dgtcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1659,6 +885,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] pub fn dgtrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1682,6 +909,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] pub fn dgtsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1692,6 +920,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] pub fn dgtsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1717,6 +946,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] pub fn dgttrf_( n: *const ::std::os::raw::c_int, dl: *mut f64, @@ -1726,6 +956,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] pub fn dgttrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1740,6 +971,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] pub fn dopgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1751,6 +983,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dopmtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1767,6 +1000,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2l_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1777,6 +1011,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2r_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1787,6 +1022,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] pub fn dorgbr_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1800,6 +1036,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] pub fn dorghr_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1811,6 +1048,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgl2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1821,6 +1059,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] pub fn dorglq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1832,6 +1071,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgql_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1843,6 +1083,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgqr_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1854,6 +1095,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1864,6 +1106,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] pub fn dorgrq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1875,6 +1118,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] pub fn dorgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1886,6 +1130,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2l_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1902,6 +1147,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2r_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1918,6 +1164,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormbr_( vect: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1937,6 +1184,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormhr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1955,6 +1203,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorml2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1971,6 +1220,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormlq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1988,6 +1238,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormql_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2005,6 +1256,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2022,6 +1274,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dormr2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2038,6 +1291,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormrq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2055,6 +1309,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2073,6 +1328,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] pub fn dpbcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2086,6 +1342,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] pub fn dpbequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2098,6 +1355,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpbrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2118,6 +1376,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbstf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2127,6 +1386,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2139,6 +1399,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2164,6 +1425,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2173,6 +1435,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2182,6 +1445,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] pub fn dpbtrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2194,6 +1458,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] pub fn dpocon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2206,6 +1471,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] pub fn dpoequ_( n: *const ::std::os::raw::c_int, a: *const f64, @@ -2215,6 +1481,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] pub fn dporfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2234,6 +1501,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2245,6 +1513,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2269,6 +1538,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2277,6 +1547,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2285,6 +1556,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] pub fn dpotri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2293,6 +1565,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] pub fn dpotrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2304,6 +1577,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] pub fn dppcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2315,6 +1589,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] pub fn dppequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2325,6 +1600,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2342,6 +1618,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2352,6 +1629,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsvx_( fact: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2375,6 +1653,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] pub fn dpptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2382,6 +1661,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] pub fn dpptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2389,6 +1669,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] pub fn dpptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2399,6 +1680,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] pub fn dptcon_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2408,6 +1690,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] pub fn dpteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2419,6 +1702,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] pub fn dptrfs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2435,6 +1719,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] pub fn dptsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2444,6 +1729,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] pub fn dptsvx_( fact: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2462,12 +1748,14 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] pub fn dpttrf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] pub fn dpttrs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2477,12 +1765,14 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] pub fn drscl_( n: *const ::std::os::raw::c_int, da: *const f64, x: *mut f64, incx: *const ::std::os::raw::c_int, ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2498,6 +1788,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2516,6 +1807,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2543,6 +1835,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] pub fn dsbgst_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2560,6 +1853,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] pub fn dsbgv_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2578,6 +1872,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsbtrd_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2594,6 +1889,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dspcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2606,6 +1902,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2619,6 +1916,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2635,6 +1933,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2658,6 +1957,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] pub fn dspgst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2667,6 +1967,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] pub fn dspgv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -2683,6 +1984,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dsprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2701,6 +2003,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dspsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2712,6 +2015,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] pub fn dspsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2732,6 +2036,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] pub fn dsptrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2742,6 +2047,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] pub fn dsptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2750,6 +2056,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] pub fn dsptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2759,6 +2066,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dsptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2770,6 +2078,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] pub fn dstebz_( range: *const ::std::os::raw::c_char, order: *const ::std::os::raw::c_char, @@ -2792,6 +2101,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] pub fn dstedc_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2806,6 +2116,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] pub fn dstein_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2821,6 +2132,7 @@ extern "C" { ifail: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] pub fn dsteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2832,12 +2144,14 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] pub fn dsterf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] pub fn dstev_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2849,6 +2163,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] pub fn dstevd_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2863,6 +2178,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] pub fn dstevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2885,6 +2201,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] pub fn dsycon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2898,6 +2215,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2911,6 +2229,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2926,6 +2245,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] pub fn dsyevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2951,6 +2271,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevr_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2977,6 +2298,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygs2_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2988,6 +2310,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2999,6 +2322,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] pub fn dsygv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -3015,6 +2339,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] pub fn dsyrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3035,6 +2360,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dsysv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3049,6 +2375,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] pub fn dsysvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -3072,6 +2399,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytd2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3083,6 +2411,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3092,6 +2421,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3105,6 +2435,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3116,6 +2447,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] pub fn dsytri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3126,6 +2458,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] pub fn dsytrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3138,6 +2471,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtbcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3154,6 +2488,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] pub fn dtbrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3176,6 +2511,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtbtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3192,6 +2528,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] pub fn dtgevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3212,6 +2549,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] pub fn dtgsja_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -3242,6 +2580,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtpcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3256,6 +2595,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] pub fn dtprfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3276,6 +2616,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] pub fn dtptri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3285,6 +2626,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtptrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3298,6 +2640,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] pub fn dtrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3313,6 +2656,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] pub fn dtrevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3331,6 +2675,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] pub fn dtrexc_( compq: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3344,6 +2689,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] pub fn dtrrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3365,6 +2711,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] pub fn dtrsen_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3387,6 +2734,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] pub fn dtrsna_( job: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3409,6 +2757,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] pub fn dtrsyl_( trana: *const ::std::os::raw::c_char, tranb: *const ::std::os::raw::c_char, @@ -3426,6 +2775,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] pub fn dtrti2_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3436,6 +2786,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] pub fn dtrtri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3446,6 +2797,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] pub fn dtrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3461,6 +2813,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] pub fn dhgeqz_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3486,6 +2839,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] pub fn dhsein_( side: *const ::std::os::raw::c_char, eigsrc: *const ::std::os::raw::c_char, @@ -3510,6 +2864,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] pub fn dhseqr_( job: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -3528,7 +2883,9 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] pub fn dlabrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3544,6 +2901,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] pub fn dlacon_( n: *const ::std::os::raw::c_int, v: *mut f64, @@ -3552,6 +2910,7 @@ extern "C" { est: *mut f64, kase: *mut ::std::os::raw::c_int, ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] pub fn dlacpy_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3562,6 +2921,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLADIV - perform complex division in real arithmetic"] pub fn dladiv_( a: *const f64, b: *const f64, @@ -3570,7 +2930,9 @@ extern "C" { p: *mut f64, q: *mut f64, ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] pub fn dlaebz_( ijob: *const ::std::os::raw::c_int, nitmax: *const ::std::os::raw::c_int, @@ -3593,6 +2955,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] pub fn dlaed0_( icompq: *const ::std::os::raw::c_int, qsiz: *const ::std::os::raw::c_int, @@ -3607,6 +2970,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -3619,6 +2983,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed2_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3637,6 +3002,7 @@ extern "C" { coltyp: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] pub fn dlaed3_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3653,6 +3019,7 @@ extern "C" { s: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] pub fn dlaed4_( n: *const ::std::os::raw::c_int, i: *const ::std::os::raw::c_int, @@ -3663,6 +3030,7 @@ extern "C" { dlam: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] pub fn dlaed5_( i: *const ::std::os::raw::c_int, d: *const f64, @@ -3671,6 +3039,7 @@ extern "C" { rho: *const f64, dlam: *mut f64, ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] pub fn dlaed6_( kniter: *const ::std::os::raw::c_int, orgati: *const ::std::os::raw::c_int, @@ -3681,6 +3050,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed7_( icompq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3705,6 +3075,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed8_( icompq: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -3729,6 +3100,7 @@ extern "C" { indx: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] pub fn dlaed9_( k: *const ::std::os::raw::c_int, kstart: *const ::std::os::raw::c_int, @@ -3744,6 +3116,7 @@ extern "C" { lds: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] pub fn dlaeda_( n: *const ::std::os::raw::c_int, tlvls: *const ::std::os::raw::c_int, @@ -3760,6 +3133,7 @@ extern "C" { ztemp: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] pub fn dlaein_( rightv: *const ::std::os::raw::c_int, noinit: *const ::std::os::raw::c_int, @@ -3778,6 +3152,7 @@ extern "C" { bignum: *const f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] pub fn dlaev2_( a: *const f64, b: *const f64, @@ -3787,6 +3162,7 @@ extern "C" { cs1: *mut f64, sn1: *mut f64, ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] pub fn dlaexc_( wantq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3800,6 +3176,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] pub fn dlag2_( a: *const f64, lda: *const ::std::os::raw::c_int, @@ -3812,6 +3189,7 @@ extern "C" { wr2: *mut f64, wi: *mut f64, ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] pub fn dlags2_( upper: *const ::std::os::raw::c_int, a1: *const f64, @@ -3827,6 +3205,7 @@ extern "C" { csq: *mut f64, snq: *mut f64, ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] pub fn dlagtf_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -3838,6 +3217,7 @@ extern "C" { in_: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] pub fn dlagtm_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3853,6 +3233,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] pub fn dlagts_( job: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3865,6 +3246,7 @@ extern "C" { tol: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] pub fn dlahqr_( wantt: *const ::std::os::raw::c_int, wantz: *const ::std::os::raw::c_int, @@ -3881,6 +3263,7 @@ extern "C" { ldz: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] pub fn dlaic1_( job: *const ::std::os::raw::c_int, j: *const ::std::os::raw::c_int, @@ -3892,6 +3275,7 @@ extern "C" { s: *mut f64, c: *mut f64, ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] pub fn dlaln2_( ltrans: *const ::std::os::raw::c_int, na: *const ::std::os::raw::c_int, @@ -3912,7 +3296,9 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAMCH - determine double precision machine parameters"] pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] pub fn dlamrg_( n1: *const ::std::os::raw::c_int, n2: *const ::std::os::raw::c_int, @@ -3921,6 +3307,7 @@ extern "C" { dtrd2: *const ::std::os::raw::c_int, index: *mut ::std::os::raw::c_int, ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] pub fn dlangb_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3931,6 +3318,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] pub fn dlange_( norm: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3940,6 +3328,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] pub fn dlangt_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3948,6 +3337,7 @@ extern "C" { du: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] pub fn dlanhs_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3956,6 +3346,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] pub fn dlansb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3967,6 +3358,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] pub fn dlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3976,6 +3368,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] pub fn dlanst_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3983,6 +3376,7 @@ extern "C" { e: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] pub fn dlansy_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3993,6 +3387,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] pub fn dlantb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4006,6 +3401,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] pub fn dlantp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4017,6 +3413,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] pub fn dlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4030,6 +3427,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] pub fn dlanv2_( a: *mut f64, b: *mut f64, @@ -4042,6 +3440,7 @@ extern "C" { cs: *mut f64, sn: *mut f64, ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] pub fn dlapll_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4050,6 +3449,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, ssmin: *mut f64, ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] pub fn dlapmt_( forwrd: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -4058,8 +3458,11 @@ extern "C" { ldx: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] pub fn dlaqgb_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4075,6 +3478,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] pub fn dlaqge_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4088,6 +3492,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] pub fn dlaqsb_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4101,6 +3506,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsp_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4111,6 +3517,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsy_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4122,6 +3529,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] pub fn dlaqtr_( ltran: *const ::std::os::raw::c_int, lreal: *const ::std::os::raw::c_int, @@ -4135,6 +3543,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] pub fn dlar2v_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4145,6 +3554,7 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarf_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4157,6 +3567,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] pub fn dlarfb_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4178,6 +3589,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] pub fn dlarfg_( n: *const ::std::os::raw::c_int, alpha: *const f64, @@ -4185,6 +3597,7 @@ extern "C" { incx: *const ::std::os::raw::c_int, tau: *mut f64, ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] pub fn dlarft_( direct: *const ::std::os::raw::c_char, storev: *const ::std::os::raw::c_char, @@ -4198,6 +3611,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarfx_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4209,6 +3623,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] pub fn dlargv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4218,13 +3633,16 @@ extern "C" { c: *mut f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] pub fn dlarnv_( idist: *const ::std::os::raw::c_int, iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64, ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] pub fn dlartv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4235,8 +3653,11 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] pub fn dlascl_( type_: *const ::std::os::raw::c_char, kl: *const ::std::os::raw::c_int, @@ -4250,6 +3671,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] pub fn dlaset_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4260,6 +3682,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] pub fn dlasq1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -4267,6 +3690,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] pub fn dlasq2_( m: *const ::std::os::raw::c_int, q: *mut f64, @@ -4280,6 +3704,7 @@ extern "C" { kend: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] pub fn dlasq3_( n: *mut ::std::os::raw::c_int, q: *mut f64, @@ -4296,6 +3721,7 @@ extern "C" { tol2: *const f64, small2: *const f64, ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] pub fn dlasq4_( n: *const ::std::os::raw::c_int, q: *const f64, @@ -4303,6 +3729,7 @@ extern "C" { tau: *mut f64, sup: *mut f64, ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] pub fn dlasr_( side: *const ::std::os::raw::c_char, pivot: *const ::std::os::raw::c_char, @@ -4317,6 +3744,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] pub fn dlasrt_( id: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4324,6 +3752,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] pub fn dlassq_( n: *const ::std::os::raw::c_int, x: *const f64, @@ -4331,6 +3760,7 @@ extern "C" { scale: *mut f64, sumsq: *mut f64, ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] pub fn dlasv2_( f: *const f64, g: *const f64, @@ -4342,6 +3772,7 @@ extern "C" { snl: *mut f64, csl: *mut f64, ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] pub fn dlaswp_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -4351,6 +3782,7 @@ extern "C" { ipiv: *const ::std::os::raw::c_int, incx: *const ::std::os::raw::c_int, ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] pub fn dlasy2_( ltranl: *const ::std::os::raw::c_int, ltranr: *const ::std::os::raw::c_int, @@ -4369,6 +3801,7 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] pub fn dlasyf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4382,6 +3815,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] pub fn dlatbs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4400,6 +3834,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] pub fn dlatps_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4416,6 +3851,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] pub fn dlatrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4428,6 +3864,7 @@ extern "C" { ldw: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] pub fn dlatrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4445,6 +3882,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauu2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4453,6 +3891,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauum_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4461,11 +3900,13 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] pub fn izmax1_( n: *const ::std::os::raw::c_int, cx: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] pub fn zgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4478,6 +3919,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] pub fn zgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -4488,6 +3930,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] pub fn zgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4500,6 +3943,7 @@ extern "C" { rwork: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] pub fn zunmqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4517,6 +3961,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRTRS solves triangular systems"] pub fn ztrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4532,6 +3977,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -4551,6 +3997,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] pub fn zheev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4565,6 +4012,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] pub fn zgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -4583,6 +4031,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] pub fn zlacn2_( n: *const ::std::os::raw::c_int, v: *mut Rcomplex, @@ -4591,6 +4040,7 @@ extern "C" { kase: *mut ::std::os::raw::c_int, isave: *mut ::std::os::raw::c_int, ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] pub fn zlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4610,6 +4060,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] pub fn zlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4623,11 +4074,13 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] pub fn dzsum1_( n: *const ::std::os::raw::c_int, CX: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] pub fn zpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4710,6 +4163,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] pub fn dbdsdc_( uplo: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -4753,6 +4207,7 @@ extern "C" { jpiv: *mut ::std::os::raw::c_int, scale: *mut f64, ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] pub fn dgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -5820,6 +5275,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] pub fn lsame_( ca: *const ::std::os::raw::c_char, cb: *const ::std::os::raw::c_char, @@ -5844,6 +5300,15 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); pub fn zgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -5977,6 +5442,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] pub fn zgetri_( n: *mut ::std::os::raw::c_int, a: *mut Rcomplex, @@ -6370,6 +5836,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] pub fn zsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -6463,6 +5930,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] pub fn ztrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -6684,6 +6152,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -6719,6 +6188,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] pub fn zlanhp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -6847,6 +6317,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] pub fn dgegv_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -6868,6 +6339,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] pub fn dgeqpf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6878,6 +6350,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] pub fn dggsvd_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -6906,6 +6379,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] pub fn dtzrqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6914,6 +6388,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] pub fn dlahrd_( n: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -6926,6 +6401,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] pub fn dlatzm_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs index b2dc86e2..85034145 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -1,27 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "Double Precision LINPACK"] pub fn dpbfa_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, @@ -119,6 +105,7 @@ extern "C" { arg5: *mut ::std::os::raw::c_int, arg6: *mut ::std::os::raw::c_int, ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] pub fn dchdc_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs index df046ef5..767753fd 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs index 7dee1609..7f327ed8 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs index ddc0a784..b72bd2e8 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -1,134 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -139,178 +16,7 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs index 36b98753..ac15eba9 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs index 91e333cf..c5e21d92 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -53,1148 +53,16 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] pub struct Rcomplex { pub __bindgen_anon_1: __BindgenUnionField, pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatRealS( @@ -1223,8 +91,10 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] pub fn Rf_printIntegerVector( arg1: *const ::std::os::raw::c_int, arg2: R_xlen_t, diff --git a/src/bindings/bindings-R-windows-x86_64-R4.4.rs b/src/bindings/bindings-R-windows-x86_64-R4.4.rs index 5dd603f0..6ccc646b 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -1,283 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const PI: f64 = 3.141592653589793; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); } diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs index 4cf8c912..aaa9d4f5 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs index 941d6f16..e444baa7 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -96,6 +96,13 @@ pub enum Rboolean { TRUE = 1, } #[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] #[doc = "Startup Actions"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum SA_TYPE { @@ -129,6 +136,53 @@ pub struct structRstart { pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, } impl structRstart { #[inline] diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs index b4ba2546..a05dc401 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs index d050107c..43417a7b 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -1,21 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum RNGtype { WICHMANN_HILL = 0, MARSAGLIA_MULTICARRY = 1, diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs index 787bbcd9..0fca1890 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs index a9bcfbe6..381c5a40 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -1,1224 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn qsort4_( - v: *mut f64, - indx: *mut ::std::os::raw::c_int, - ii: *mut ::std::os::raw::c_int, - jj: *mut ::std::os::raw::c_int, - ); - pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn interv_( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - rightmost_closed: *mut Rboolean, - all_inside: *mut Rboolean, - ilo: *mut ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs index e26b68ce..6bf0a990 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs index b9facfcd..b27f609c 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs index e7232844..a2ceace6 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs index 59d80f9a..6abce7ff 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -53,16 +53,7 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; @@ -81,8 +72,6 @@ pub const IDENT_USE_SRCREF: u32 = 32; pub const IDENT_EXTPTR_AS_REF: u32 = 64; pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -107,47 +96,6 @@ pub struct Rcomplex { } #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -317,178 +265,7 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] pub fn Rf_isNull(s: SEXP) -> Rboolean; @@ -744,6 +521,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -1191,7 +969,7 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_GROWABLE_BIT(x: SEXP); diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs index f4547403..9b523c73 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -1,11 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; pub const HAVE_EXPM1: u32 = 1; pub const HAVE_HYPOT: u32 = 1; pub const HAVE_LOG1P: u32 = 1; @@ -21,14 +21,6 @@ pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { #[doc = "R's versions with !R_FINITE checks"] pub fn R_pow(x: f64, y: f64) -> f64; @@ -38,6 +30,7 @@ extern "C" { pub fn unif_rand() -> f64; pub fn R_unif_index(arg1: f64) -> f64; pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnorm5( arg1: f64, @@ -61,6 +54,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ); + #[doc = "Uniform Distribution"] pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_punif( arg1: f64, @@ -77,6 +71,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pgamma( arg1: f64, @@ -98,9 +93,11 @@ extern "C" { pub fn Rf_log1mexp(arg1: f64) -> f64; pub fn Rf_lgamma1p(arg1: f64) -> f64; pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbeta( arg1: f64, @@ -117,6 +114,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plnorm( arg1: f64, @@ -133,6 +131,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pchisq( arg1: f64, @@ -147,6 +146,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnchisq( arg1: f64, @@ -163,6 +163,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pf( arg1: f64, @@ -179,6 +180,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pt( arg1: f64, @@ -193,6 +195,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbinom( @@ -210,12 +213,14 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] pub fn Rf_rmultinom( arg1: ::std::os::raw::c_int, arg2: *mut f64, arg3: ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ); + #[doc = "Cauchy Distribution"] pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pcauchy( arg1: f64, @@ -232,6 +237,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pexp( arg1: f64, @@ -246,6 +252,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pgeom( arg1: f64, @@ -260,6 +267,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] pub fn Rf_dhyper( arg1: f64, arg2: f64, @@ -284,6 +292,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnbinom( arg1: f64, @@ -316,6 +325,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_ppois( @@ -331,6 +341,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pweibull( arg1: f64, @@ -347,6 +358,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plogis( arg1: f64, @@ -363,6 +375,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] pub fn Rf_dnbeta( arg1: f64, arg2: f64, @@ -387,6 +400,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; pub fn Rf_pnf( arg1: f64, @@ -404,6 +418,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Non-central Student t Distribution"] pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnt( arg1: f64, @@ -419,6 +434,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ) -> f64; + #[doc = "Studentized Range Distribution"] pub fn Rf_ptukey( arg1: f64, arg2: f64, @@ -435,6 +451,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pwilcox( arg1: f64, @@ -452,6 +469,7 @@ extern "C" { ) -> f64; pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_psignrank( arg1: f64, @@ -467,6 +485,7 @@ extern "C" { ) -> f64; pub fn Rf_rsignrank(arg1: f64) -> f64; pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] pub fn Rf_gammafn(arg1: f64) -> f64; pub fn Rf_lgammafn(arg1: f64) -> f64; pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; @@ -488,6 +507,7 @@ extern "C" { pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; @@ -496,6 +516,7 @@ extern "C" { pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] pub fn Rf_imax2( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs index 51f32b3a..9312161e 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -1,17 +1,17 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; pub const R_STATUS: &[u8; 1] = b"\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs index eb780225..4876ac78 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] #[repr(C)] @@ -108,13 +108,18 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] pub fn Rf_setIVector( arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -131,7 +136,7 @@ extern "C" { pub fn R_CheckUserInterrupt(); pub fn R_CheckStack(); pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] + #[doc = "../../appl/interv.c: first also in Applic.h"] pub fn findInterval( xt: *mut f64, n: ::std::os::raw::c_int, @@ -151,6 +156,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] pub fn find_interv_vec( xt: *mut f64, n: *mut ::std::os::raw::c_int, @@ -160,7 +166,7 @@ extern "C" { all_inside: *mut ::std::os::raw::c_int, indx: *mut ::std::os::raw::c_int, ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] + #[doc = "../../appl/maxcol.c"] pub fn R_max_col( matrix: *mut f64, nr: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs index 787bbcd9..e3635299 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -1,16 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs index 9ce19eca..392fd843 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const DblClick: u32 = 16; pub const Border: u32 = 269484032; @@ -23,8 +23,63 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -37,6 +92,7 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { + #[doc = "renamed functions"] pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); @@ -49,11 +105,15 @@ extern "C" { pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] pub fn GA_addstatusbar() -> ::std::os::raw::c_int; pub fn GA_delstatusbar() -> ::std::os::raw::c_int; pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); pub fn GA_askchangedir(); pub fn GA_askcdstring( @@ -93,11 +153,13 @@ extern "C" { title: *const ::std::os::raw::c_char, default_name: *const ::std::os::raw::c_char, ) -> *mut wchar_t; + #[doc = "rgb.c"] pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] pub fn GA_copytoclipboard(src: drawing); pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn GA_getstringfromclipboard( @@ -105,6 +167,7 @@ extern "C" { n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] pub fn GA_bitmaptoimage(bm: bitmap) -> image; pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; pub fn GA_nextpage(p: printer); @@ -264,10 +327,13 @@ extern "C" { s: *const ::std::os::raw::c_char, enc: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "pixels"] pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; @@ -314,7 +380,9 @@ extern "C" { pub fn GA_finddialog(t: textbox); pub fn GA_replacedialog(t: textbox); pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] pub fn GA_toolbar_show(); pub fn GA_toolbar_hide(); } diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs index 1e60b31f..5c3e46c5 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const _GRAPHAPP_H: u32 = 240; pub const Pi: f64 = 3.14159265359; @@ -227,6 +227,7 @@ pub type dropfn = pub type imfn = ::std::option::Option; extern "C" { + #[doc = "General functions."] pub fn GA_initapp( argc: ::std::os::raw::c_int, argv: *mut *mut ::std::os::raw::c_char, @@ -238,6 +239,7 @@ extern "C" { pub fn GA_doevent() -> ::std::os::raw::c_int; pub fn mainloop(); pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; pub fn GA_newrect( left: ::std::os::raw::c_int, @@ -271,10 +273,13 @@ extern "C" { pub fn GA_clipr(r1: rect, r2: rect) -> rect; pub fn GA_rcanon(r: rect) -> rect; pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] pub fn GA_addto(dest: control); pub fn GA_drawto(dest: drawing); pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); pub fn GA_scrollrect(dp: point, sr: rect); pub fn GA_copyrect(src: drawing, dp: point, sr: rect); @@ -282,6 +287,7 @@ extern "C" { pub fn GA_invertrect(r: rect); pub fn GA_getpixel(p: point) -> rgb; pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] pub fn GA_moveto(p: point); pub fn GA_lineto(p: point); pub fn GA_drawpoint(p: point); @@ -304,6 +310,7 @@ extern "C" { pub fn GA_fillroundrect(r: rect); pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] pub fn GA_newfont( name: *const ::std::os::raw::c_char, style: ::std::os::raw::c_int, @@ -328,6 +335,7 @@ extern "C" { text: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] pub fn GA_currentdrawing() -> drawing; pub fn GA_currentrgb() -> rgb; pub fn GA_currentmode() -> ::std::os::raw::c_int; @@ -335,7 +343,9 @@ extern "C" { pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; pub fn GA_currentfont() -> font; pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] pub fn GA_newbitmap( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -352,6 +362,7 @@ extern "C" { pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] pub fn GA_newimage( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -378,6 +389,7 @@ extern "C" { pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); pub fn GA_drawdarker(img: image, dr: rect, sr: rect); pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] pub fn GA_newwindow( name: *const ::std::os::raw::c_char, r: rect, @@ -386,11 +398,13 @@ extern "C" { pub fn GA_show(w: window); pub fn GA_hide(w: window); pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objrect(obj: objptr) -> rect; pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] pub fn GA_setaction(c: control, fn_: actionfn); pub fn GA_sethit(c: control, fn_: intfn); pub fn GA_setdel(c: control, fn_: actionfn); @@ -407,6 +421,7 @@ extern "C" { pub fn GA_setdrop(c: control, fn_: dropfn); pub fn GA_setonfocus(c: control, fn_: actionfn); pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] pub fn GA_clear(c: control); pub fn GA_draw(c: control); pub fn GA_redraw(c: control); @@ -423,6 +438,7 @@ extern "C" { pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; pub fn GA_flashcontrol(c: control); pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; pub fn GA_settextfont(c: control, f: font); @@ -436,6 +452,7 @@ extern "C" { pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; pub fn GA_newpicture(img: image, r: rect) -> drawing; @@ -520,6 +537,7 @@ extern "C" { key: ::std::os::raw::c_int, fn_: menufn, ) -> menuitem; + #[doc = "Text editing functions."] pub fn GA_undotext(t: textbox); pub fn GA_cuttext(t: textbox); pub fn GA_copytext(t: textbox); @@ -560,11 +578,13 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_delay(millisec: ::std::os::raw::c_uint); pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] pub fn GA_newcursor(hotspot: point, img: image) -> cursor; pub fn GA_createcursor( offset: point, @@ -573,10 +593,12 @@ extern "C" { ) -> cursor; pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] pub fn GA_copydrawstate() -> drawstate; pub fn GA_setdrawstate(saved_state: drawstate); pub fn GA_restoredrawstate(saved_state: drawstate); pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] pub fn GA_setcaret( c: control, x: ::std::os::raw::c_int, @@ -585,16 +607,28 @@ extern "C" { height: ::std::os::raw::c_int, ); pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] pub static mut GA_Courier: font; } diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs index d77b0fc2..017d8b5b 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs index ff4a66ac..e3635299 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs index caa7f14f..3319192d 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const _LIBINTL_H: u32 = 1; pub const LC_MESSAGES: u32 = 1729; diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs index 0c0cf6f4..91057487 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs index 71102dc8..9bd54f20 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -1,1263 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: clang version 18.1.8 */ +/* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn S_Rf_divset( alg: ::std::os::raw::c_int, iv: *mut ::std::os::raw::c_int, @@ -1265,31 +14,31 @@ extern "C" { lv: ::std::os::raw::c_int, v: *mut f64, ); - pub fn S_nlsb_iterate( + pub fn S_nlminb_iterate( b: *mut f64, d: *mut f64, - dr: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, v: *mut f64, x: *mut f64, ); - pub fn S_nlminb_iterate( + pub fn S_nlsb_iterate( b: *mut f64, d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, + dr: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, v: *mut f64, x: *mut f64, ); From 4a33e2858cda5ab3a8637234775948bee1305887 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 08:29:04 +0200 Subject: [PATCH 36/50] [generate bindings] --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37dddfa9..bb73117a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,12 @@ on: branches: - main - master + - full_bindings pull_request: branches: - main - master + - full_bindings issue_comment: types: - created @@ -125,7 +127,7 @@ jobs: if: runner.os == 'Windows' run: | # Configure linker - echo "RUSTFLAGS=-C linker=x86_64-w64-mingw32.static.posix-gcc.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "RUSTFLAGS=-Clinker=x86_64-w64-mingw32.static.posix-gcc.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append # Create libgcc_eh mock New-Item -Path libgcc_mock -Type Directory From 76ba112b54bd4b0c81c5e13354c0a4cb39b832af Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sat, 20 Jul 2024 06:39:53 +0000 Subject: [PATCH 37/50] Update bindings [skip ci] --- .../bindings-Altrep-linux-aarch64-R4.3.rs | 53 - .../bindings-Altrep-linux-aarch64-R4.4.rs | 55 +- ...indings-Altrep-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-Altrep-linux-x86_64-R4.3.rs | 62 - .../bindings-Altrep-linux-x86_64-R4.4.rs | 64 +- ...bindings-Altrep-linux-x86_64-R4.5-devel.rs | 62 - .../bindings-Altrep-macos-aarch64-R4.3.rs | 64 +- .../bindings-Altrep-macos-aarch64-R4.4.rs | 66 +- ...indings-Altrep-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-Altrep-macos-x86_64-R4.4.rs | 74 +- .../bindings-Altrep-windows-x86_64-R4.3.rs | 227 +-- .../bindings-Altrep-windows-x86_64-R4.4.rs | 2 +- ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 214 +-- .../bindings-Applic-linux-aarch64-R4.4.rs | 2 +- .../bindings-Applic-linux-x86_64-R4.4.rs | 2 +- .../bindings-Applic-macos-aarch64-R4.3.rs | 2 +- .../bindings-Applic-macos-aarch64-R4.4.rs | 4 +- ...indings-Applic-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Applic-macos-x86_64-R4.4.rs | 4 +- .../bindings-Applic-windows-x86_64-R4.3.rs | 874 +----------- .../bindings-Applic-windows-x86_64-R4.4.rs | 2 +- ...ndings-Applic-windows-x86_64-R4.5-devel.rs | 19 +- .../bindings-Arith-linux-aarch64-R4.4.rs | 2 +- .../bindings-Arith-linux-x86_64-R4.4.rs | 2 +- .../bindings-Arith-macos-aarch64-R4.3.rs | 2 +- .../bindings-Arith-macos-aarch64-R4.4.rs | 4 +- ...bindings-Arith-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Arith-macos-x86_64-R4.4.rs | 4 +- .../bindings-Arith-windows-x86_64-R4.3.rs | 2 +- .../bindings-Arith-windows-x86_64-R4.4.rs | 2 +- ...indings-Arith-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-BLAS-linux-aarch64-R4.4.rs | 2 +- .../bindings-BLAS-linux-x86_64-R4.4.rs | 2 +- .../bindings-BLAS-macos-aarch64-R4.3.rs | 2 +- .../bindings-BLAS-macos-aarch64-R4.4.rs | 4 +- .../bindings-BLAS-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-BLAS-macos-x86_64-R4.4.rs | 4 +- .../bindings-BLAS-windows-x86_64-R4.3.rs | 41 +- .../bindings-BLAS-windows-x86_64-R4.4.rs | 2 +- ...bindings-BLAS-windows-x86_64-R4.5-devel.rs | 42 +- .../bindings-Boolean-linux-aarch64-R4.4.rs | 2 +- .../bindings-Boolean-linux-x86_64-R4.4.rs | 2 +- .../bindings-Boolean-macos-aarch64-R4.3.rs | 2 +- .../bindings-Boolean-macos-aarch64-R4.4.rs | 4 +- ...ndings-Boolean-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Boolean-macos-x86_64-R4.4.rs | 4 +- .../bindings-Boolean-windows-x86_64-R4.3.rs | 2 +- .../bindings-Boolean-windows-x86_64-R4.4.rs | 2 +- ...dings-Boolean-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Callbacks-linux-aarch64-R4.3.rs | 53 - .../bindings-Callbacks-linux-aarch64-R4.4.rs | 55 +- ...ings-Callbacks-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-Callbacks-linux-x86_64-R4.3.rs | 62 - .../bindings-Callbacks-linux-x86_64-R4.4.rs | 64 +- ...dings-Callbacks-linux-x86_64-R4.5-devel.rs | 62 - .../bindings-Callbacks-macos-aarch64-R4.3.rs | 64 +- .../bindings-Callbacks-macos-aarch64-R4.4.rs | 66 +- ...ings-Callbacks-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-Callbacks-macos-x86_64-R4.4.rs | 74 +- .../bindings-Callbacks-windows-x86_64-R4.3.rs | 1181 +-------------- .../bindings-Callbacks-windows-x86_64-R4.4.rs | 2 +- ...ngs-Callbacks-windows-x86_64-R4.5-devel.rs | 1169 +-------------- .../bindings-Complex-linux-aarch64-R4.4.rs | 2 +- .../bindings-Complex-linux-x86_64-R4.4.rs | 2 +- .../bindings-Complex-macos-aarch64-R4.3.rs | 2 +- .../bindings-Complex-macos-aarch64-R4.4.rs | 4 +- ...ndings-Complex-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Complex-macos-x86_64-R4.4.rs | 4 +- .../bindings-Complex-windows-x86_64-R4.3.rs | 2 +- .../bindings-Complex-windows-x86_64-R4.4.rs | 2 +- ...dings-Complex-windows-x86_64-R4.5-devel.rs | 2 +- ...bindings-Connections-linux-aarch64-R4.3.rs | 52 - ...bindings-Connections-linux-aarch64-R4.4.rs | 54 +- ...gs-Connections-linux-aarch64-R4.5-devel.rs | 52 - .../bindings-Connections-linux-x86_64-R4.3.rs | 52 - .../bindings-Connections-linux-x86_64-R4.4.rs | 54 +- ...ngs-Connections-linux-x86_64-R4.5-devel.rs | 52 - ...bindings-Connections-macos-aarch64-R4.3.rs | 61 +- ...bindings-Connections-macos-aarch64-R4.4.rs | 63 +- ...gs-Connections-macos-aarch64-R4.5-devel.rs | 61 +- .../bindings-Connections-macos-x86_64-R4.4.rs | 63 +- ...indings-Connections-windows-x86_64-R4.3.rs | 287 +--- ...indings-Connections-windows-x86_64-R4.4.rs | 2 +- ...s-Connections-windows-x86_64-R4.5-devel.rs | 274 +--- .../bindings-Constants-linux-aarch64-R4.4.rs | 2 +- .../bindings-Constants-linux-x86_64-R4.4.rs | 2 +- .../bindings-Constants-macos-aarch64-R4.3.rs | 2 +- .../bindings-Constants-macos-aarch64-R4.4.rs | 4 +- ...ings-Constants-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Constants-macos-x86_64-R4.4.rs | 4 +- .../bindings-Constants-windows-x86_64-R4.3.rs | 2 +- .../bindings-Constants-windows-x86_64-R4.4.rs | 2 +- ...ngs-Constants-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Error-linux-aarch64-R4.4.rs | 3 +- ...bindings-Error-linux-aarch64-R4.5-devel.rs | 1 - .../bindings-Error-linux-x86_64-R4.4.rs | 12 +- .../bindings-Error-linux-x86_64-R4.5-devel.rs | 10 - .../bindings-Error-macos-aarch64-R4.3.rs | 2 +- .../bindings-Error-macos-aarch64-R4.4.rs | 6 +- ...bindings-Error-macos-aarch64-R4.5-devel.rs | 4 +- .../bindings-Error-macos-x86_64-R4.4.rs | 14 +- .../bindings-Error-windows-x86_64-R4.3.rs | 2 +- .../bindings-Error-windows-x86_64-R4.4.rs | 2 +- ...indings-Error-windows-x86_64-R4.5-devel.rs | 9 +- ...bindings-GetX11Image-linux-aarch64-R4.4.rs | 2 +- .../bindings-GetX11Image-linux-x86_64-R4.4.rs | 2 +- ...bindings-GetX11Image-macos-aarch64-R4.3.rs | 2 +- ...bindings-GetX11Image-macos-aarch64-R4.4.rs | 4 +- ...gs-GetX11Image-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-GetX11Image-macos-x86_64-R4.4.rs | 4 +- ...dings-GraphicsDevice-linux-aarch64-R4.3.rs | 53 - ...dings-GraphicsDevice-linux-aarch64-R4.4.rs | 55 +- ...GraphicsDevice-linux-aarch64-R4.5-devel.rs | 53 - ...ndings-GraphicsDevice-linux-x86_64-R4.3.rs | 62 - ...ndings-GraphicsDevice-linux-x86_64-R4.4.rs | 64 +- ...-GraphicsDevice-linux-x86_64-R4.5-devel.rs | 62 - ...dings-GraphicsDevice-macos-aarch64-R4.3.rs | 64 +- ...dings-GraphicsDevice-macos-aarch64-R4.4.rs | 66 +- ...GraphicsDevice-macos-aarch64-R4.5-devel.rs | 64 +- ...ndings-GraphicsDevice-macos-x86_64-R4.4.rs | 74 +- ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 296 +--- ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 2 +- ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 283 +--- ...dings-GraphicsEngine-linux-aarch64-R4.3.rs | 53 - ...dings-GraphicsEngine-linux-aarch64-R4.4.rs | 55 +- ...GraphicsEngine-linux-aarch64-R4.5-devel.rs | 53 - ...ndings-GraphicsEngine-linux-x86_64-R4.3.rs | 62 - ...ndings-GraphicsEngine-linux-x86_64-R4.4.rs | 64 +- ...-GraphicsEngine-linux-x86_64-R4.5-devel.rs | 62 - ...dings-GraphicsEngine-macos-aarch64-R4.3.rs | 64 +- ...dings-GraphicsEngine-macos-aarch64-R4.4.rs | 66 +- ...GraphicsEngine-macos-aarch64-R4.5-devel.rs | 64 +- ...ndings-GraphicsEngine-macos-x86_64-R4.4.rs | 74 +- ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 374 +---- ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 2 +- ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 361 +---- .../bindings-Itermacros-linux-aarch64-R4.4.rs | 2 +- .../bindings-Itermacros-linux-x86_64-R4.4.rs | 2 +- .../bindings-Itermacros-macos-aarch64-R4.3.rs | 2 +- .../bindings-Itermacros-macos-aarch64-R4.4.rs | 4 +- ...ngs-Itermacros-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Itermacros-macos-x86_64-R4.4.rs | 4 +- ...bindings-Itermacros-windows-x86_64-R4.3.rs | 2 +- ...bindings-Itermacros-windows-x86_64-R4.4.rs | 2 +- ...gs-Itermacros-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Lapack-linux-aarch64-R4.4.rs | 2 +- .../bindings-Lapack-linux-x86_64-R4.4.rs | 2 +- .../bindings-Lapack-macos-aarch64-R4.3.rs | 2 +- .../bindings-Lapack-macos-aarch64-R4.4.rs | 4 +- ...indings-Lapack-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Lapack-macos-x86_64-R4.4.rs | 4 +- .../bindings-Lapack-windows-x86_64-R4.3.rs | 1116 ++++----------- .../bindings-Lapack-windows-x86_64-R4.4.rs | 2 +- ...ndings-Lapack-windows-x86_64-R4.5-devel.rs | 1132 ++++----------- .../bindings-Linpack-linux-aarch64-R4.4.rs | 2 +- .../bindings-Linpack-linux-x86_64-R4.4.rs | 2 +- .../bindings-Linpack-macos-aarch64-R4.3.rs | 2 +- .../bindings-Linpack-macos-aarch64-R4.4.rs | 4 +- ...ndings-Linpack-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Linpack-macos-x86_64-R4.4.rs | 4 +- .../bindings-Linpack-windows-x86_64-R4.3.rs | 874 +----------- .../bindings-Linpack-windows-x86_64-R4.4.rs | 2 +- ...dings-Linpack-windows-x86_64-R4.5-devel.rs | 19 +- ...bindings-MathThreads-linux-aarch64-R4.4.rs | 2 +- .../bindings-MathThreads-linux-x86_64-R4.4.rs | 2 +- ...bindings-MathThreads-macos-aarch64-R4.3.rs | 2 +- ...bindings-MathThreads-macos-aarch64-R4.4.rs | 4 +- ...gs-MathThreads-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-MathThreads-macos-x86_64-R4.4.rs | 4 +- ...indings-MathThreads-windows-x86_64-R4.3.rs | 2 +- ...indings-MathThreads-windows-x86_64-R4.4.rs | 2 +- ...s-MathThreads-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Memory-linux-aarch64-R4.4.rs | 2 +- .../bindings-Memory-linux-x86_64-R4.4.rs | 2 +- .../bindings-Memory-macos-aarch64-R4.3.rs | 2 +- .../bindings-Memory-macos-aarch64-R4.4.rs | 4 +- ...indings-Memory-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Memory-macos-x86_64-R4.4.rs | 4 +- .../bindings-Memory-windows-x86_64-R4.3.rs | 2 +- .../bindings-Memory-windows-x86_64-R4.4.rs | 2 +- ...ndings-Memory-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Parse-linux-aarch64-R4.3.rs | 53 - .../bindings-Parse-linux-aarch64-R4.4.rs | 55 +- ...bindings-Parse-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-Parse-linux-x86_64-R4.3.rs | 62 - .../bindings-Parse-linux-x86_64-R4.4.rs | 64 +- .../bindings-Parse-linux-x86_64-R4.5-devel.rs | 62 - .../bindings-Parse-macos-aarch64-R4.3.rs | 64 +- .../bindings-Parse-macos-aarch64-R4.4.rs | 66 +- ...bindings-Parse-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-Parse-macos-x86_64-R4.4.rs | 74 +- .../bindings-Parse-windows-x86_64-R4.3.rs | 296 +--- .../bindings-Parse-windows-x86_64-R4.4.rs | 2 +- ...indings-Parse-windows-x86_64-R4.5-devel.rs | 283 +--- .../bindings-Print-linux-aarch64-R4.4.rs | 2 +- .../bindings-Print-linux-x86_64-R4.4.rs | 2 +- .../bindings-Print-macos-aarch64-R4.3.rs | 2 +- .../bindings-Print-macos-aarch64-R4.4.rs | 4 +- ...bindings-Print-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Print-macos-x86_64-R4.4.rs | 4 +- .../bindings-Print-windows-x86_64-R4.3.rs | 2 +- .../bindings-Print-windows-x86_64-R4.4.rs | 2 +- ...indings-Print-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-PrtUtil-linux-aarch64-R4.3.rs | 53 - .../bindings-PrtUtil-linux-aarch64-R4.4.rs | 55 +- ...ndings-PrtUtil-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-PrtUtil-linux-x86_64-R4.3.rs | 62 - .../bindings-PrtUtil-linux-x86_64-R4.4.rs | 64 +- ...indings-PrtUtil-linux-x86_64-R4.5-devel.rs | 62 - .../bindings-PrtUtil-macos-aarch64-R4.3.rs | 64 +- .../bindings-PrtUtil-macos-aarch64-R4.4.rs | 66 +- ...ndings-PrtUtil-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-PrtUtil-macos-x86_64-R4.4.rs | 74 +- .../bindings-PrtUtil-windows-x86_64-R4.3.rs | 1134 +-------------- .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 2 +- ...dings-PrtUtil-windows-x86_64-R4.5-devel.rs | 1122 +-------------- ...indings-QuartzDevice-linux-aarch64-R4.4.rs | 2 +- ...bindings-QuartzDevice-linux-x86_64-R4.4.rs | 2 +- ...indings-QuartzDevice-macos-aarch64-R4.3.rs | 2 +- ...indings-QuartzDevice-macos-aarch64-R4.4.rs | 4 +- ...s-QuartzDevice-macos-aarch64-R4.5-devel.rs | 2 +- ...bindings-QuartzDevice-macos-x86_64-R4.4.rs | 4 +- src/bindings/bindings-R-linux-aarch64-R4.3.rs | 1 - src/bindings/bindings-R-linux-aarch64-R4.4.rs | 3 +- .../bindings-R-linux-aarch64-R4.5-devel.rs | 1 - src/bindings/bindings-R-linux-x86_64-R4.3.rs | 10 - src/bindings/bindings-R-linux-x86_64-R4.4.rs | 12 +- .../bindings-R-linux-x86_64-R4.5-devel.rs | 10 - src/bindings/bindings-R-macos-aarch64-R4.3.rs | 5 +- src/bindings/bindings-R-macos-aarch64-R4.4.rs | 7 +- .../bindings-R-macos-aarch64-R4.5-devel.rs | 5 +- src/bindings/bindings-R-macos-x86_64-R4.4.rs | 15 +- .../bindings-R-windows-x86_64-R4.3.rs | 272 +--- .../bindings-R-windows-x86_64-R4.4.rs | 2 +- .../bindings-R-windows-x86_64-R4.5-devel.rs | 257 +--- .../bindings-RS-linux-aarch64-R4.4.rs | 2 +- src/bindings/bindings-RS-linux-x86_64-R4.4.rs | 2 +- .../bindings-RS-macos-aarch64-R4.3.rs | 2 +- .../bindings-RS-macos-aarch64-R4.4.rs | 4 +- .../bindings-RS-macos-aarch64-R4.5-devel.rs | 2 +- src/bindings/bindings-RS-macos-x86_64-R4.4.rs | 4 +- .../bindings-RS-windows-x86_64-R4.3.rs | 10 +- .../bindings-RS-windows-x86_64-R4.4.rs | 2 +- .../bindings-RS-windows-x86_64-R4.5-devel.rs | 10 +- .../bindings-RStartup-linux-aarch64-R4.4.rs | 2 +- .../bindings-RStartup-linux-x86_64-R4.4.rs | 2 +- .../bindings-RStartup-macos-aarch64-R4.3.rs | 2 +- .../bindings-RStartup-macos-aarch64-R4.4.rs | 4 +- ...dings-RStartup-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-RStartup-macos-x86_64-R4.4.rs | 4 +- .../bindings-RStartup-windows-x86_64-R4.3.rs | 57 +- .../bindings-RStartup-windows-x86_64-R4.4.rs | 2 +- ...ings-RStartup-windows-x86_64-R4.5-devel.rs | 56 +- ...bindings-Rallocators-linux-aarch64-R4.4.rs | 2 +- .../bindings-Rallocators-linux-x86_64-R4.4.rs | 2 +- ...bindings-Rallocators-macos-aarch64-R4.3.rs | 2 +- ...bindings-Rallocators-macos-aarch64-R4.4.rs | 4 +- ...gs-Rallocators-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rallocators-macos-x86_64-R4.4.rs | 4 +- ...indings-Rallocators-windows-x86_64-R4.3.rs | 2 +- ...indings-Rallocators-windows-x86_64-R4.4.rs | 2 +- ...s-Rallocators-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Random-linux-aarch64-R4.4.rs | 2 +- .../bindings-Random-linux-x86_64-R4.4.rs | 2 +- .../bindings-Random-macos-aarch64-R4.3.rs | 2 +- .../bindings-Random-macos-aarch64-R4.4.rs | 4 +- ...indings-Random-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Random-macos-x86_64-R4.4.rs | 4 +- .../bindings-Random-windows-x86_64-R4.3.rs | 10 +- .../bindings-Random-windows-x86_64-R4.4.rs | 2 +- ...ndings-Random-windows-x86_64-R4.5-devel.rs | 10 +- .../bindings-Rconfig-linux-aarch64-R4.4.rs | 2 +- .../bindings-Rconfig-linux-x86_64-R4.4.rs | 2 +- .../bindings-Rconfig-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rconfig-macos-aarch64-R4.4.rs | 4 +- ...ndings-Rconfig-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rconfig-macos-x86_64-R4.4.rs | 4 +- .../bindings-Rconfig-windows-x86_64-R4.3.rs | 2 +- .../bindings-Rconfig-windows-x86_64-R4.4.rs | 2 +- ...dings-Rconfig-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Rdefines-linux-aarch64-R4.3.rs | 53 - .../bindings-Rdefines-linux-aarch64-R4.4.rs | 55 +- ...dings-Rdefines-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-Rdefines-linux-x86_64-R4.3.rs | 62 - .../bindings-Rdefines-linux-x86_64-R4.4.rs | 64 +- ...ndings-Rdefines-linux-x86_64-R4.5-devel.rs | 62 - .../bindings-Rdefines-macos-aarch64-R4.3.rs | 64 +- .../bindings-Rdefines-macos-aarch64-R4.4.rs | 66 +- ...dings-Rdefines-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-Rdefines-macos-x86_64-R4.4.rs | 74 +- .../bindings-Rdefines-windows-x86_64-R4.3.rs | 1213 +--------------- .../bindings-Rdefines-windows-x86_64-R4.4.rs | 2 +- ...ings-Rdefines-windows-x86_64-R4.5-devel.rs | 1201 +--------------- .../bindings-Rdynload-linux-aarch64-R4.4.rs | 2 +- .../bindings-Rdynload-linux-x86_64-R4.4.rs | 2 +- .../bindings-Rdynload-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rdynload-macos-aarch64-R4.4.rs | 4 +- ...dings-Rdynload-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rdynload-macos-x86_64-R4.4.rs | 4 +- .../bindings-Rdynload-windows-x86_64-R4.3.rs | 2 +- .../bindings-Rdynload-windows-x86_64-R4.4.rs | 2 +- ...ings-Rdynload-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Rembedded-linux-aarch64-R4.4.rs | 2 +- .../bindings-Rembedded-linux-x86_64-R4.4.rs | 2 +- .../bindings-Rembedded-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rembedded-macos-aarch64-R4.4.rs | 4 +- ...ings-Rembedded-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rembedded-macos-x86_64-R4.4.rs | 4 +- .../bindings-Rembedded-windows-x86_64-R4.3.rs | 2 +- .../bindings-Rembedded-windows-x86_64-R4.4.rs | 2 +- ...ngs-Rembedded-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Riconv-linux-aarch64-R4.4.rs | 2 +- .../bindings-Riconv-linux-x86_64-R4.4.rs | 2 +- .../bindings-Riconv-macos-aarch64-R4.3.rs | 2 +- .../bindings-Riconv-macos-aarch64-R4.4.rs | 4 +- ...indings-Riconv-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Riconv-macos-x86_64-R4.4.rs | 4 +- .../bindings-Riconv-windows-x86_64-R4.3.rs | 2 +- .../bindings-Riconv-windows-x86_64-R4.4.rs | 2 +- ...ndings-Riconv-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-Rinterface-linux-aarch64-R4.4.rs | 2 +- .../bindings-Rinterface-linux-x86_64-R4.4.rs | 2 +- .../bindings-Rinterface-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rinterface-macos-aarch64-R4.4.rs | 4 +- ...ngs-Rinterface-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rinterface-macos-x86_64-R4.4.rs | 4 +- .../bindings-Rinternals-linux-aarch64-R4.3.rs | 1 - .../bindings-Rinternals-linux-aarch64-R4.4.rs | 6 +- ...ngs-Rinternals-linux-aarch64-R4.5-devel.rs | 13 +- .../bindings-Rinternals-linux-x86_64-R4.3.rs | 10 - .../bindings-Rinternals-linux-x86_64-R4.4.rs | 15 +- ...ings-Rinternals-linux-x86_64-R4.5-devel.rs | 22 +- .../bindings-Rinternals-macos-aarch64-R4.3.rs | 5 +- .../bindings-Rinternals-macos-aarch64-R4.4.rs | 10 +- ...ngs-Rinternals-macos-aarch64-R4.5-devel.rs | 17 +- .../bindings-Rinternals-macos-x86_64-R4.4.rs | 18 +- ...bindings-Rinternals-windows-x86_64-R4.3.rs | 225 +-- ...bindings-Rinternals-windows-x86_64-R4.4.rs | 2 +- ...gs-Rinternals-windows-x86_64-R4.5-devel.rs | 224 +-- .../bindings-Rmath-linux-aarch64-R4.4.rs | 4 +- .../bindings-Rmath-linux-x86_64-R4.4.rs | 4 +- .../bindings-Rmath-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rmath-macos-aarch64-R4.4.rs | 6 +- ...bindings-Rmath-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Rmath-macos-x86_64-R4.4.rs | 6 +- .../bindings-Rmath-windows-x86_64-R4.3.rs | 39 +- .../bindings-Rmath-windows-x86_64-R4.4.rs | 2 +- ...indings-Rmath-windows-x86_64-R4.5-devel.rs | 39 +- .../bindings-Rversion-linux-aarch64-R4.4.rs | 14 +- ...dings-Rversion-linux-aarch64-R4.5-devel.rs | 6 +- .../bindings-Rversion-linux-x86_64-R4.4.rs | 14 +- ...ndings-Rversion-linux-x86_64-R4.5-devel.rs | 6 +- .../bindings-Rversion-macos-aarch64-R4.3.rs | 2 +- .../bindings-Rversion-macos-aarch64-R4.4.rs | 16 +- ...dings-Rversion-macos-aarch64-R4.5-devel.rs | 8 +- .../bindings-Rversion-macos-x86_64-R4.4.rs | 16 +- .../bindings-Rversion-windows-x86_64-R4.3.rs | 2 +- .../bindings-Rversion-windows-x86_64-R4.4.rs | 2 +- ...ings-Rversion-windows-x86_64-R4.5-devel.rs | 8 +- .../bindings-Utils-linux-aarch64-R4.4.rs | 9 +- .../bindings-Utils-linux-x86_64-R4.4.rs | 9 +- .../bindings-Utils-macos-aarch64-R4.3.rs | 2 +- .../bindings-Utils-macos-aarch64-R4.4.rs | 12 +- ...bindings-Utils-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Utils-macos-x86_64-R4.4.rs | 12 +- .../bindings-Utils-windows-x86_64-R4.3.rs | 5 +- .../bindings-Utils-windows-x86_64-R4.4.rs | 2 +- ...indings-Utils-windows-x86_64-R4.5-devel.rs | 6 +- .../bindings-Visibility-linux-aarch64-R4.4.rs | 2 +- .../bindings-Visibility-linux-x86_64-R4.4.rs | 2 +- .../bindings-Visibility-macos-aarch64-R4.3.rs | 2 +- .../bindings-Visibility-macos-aarch64-R4.4.rs | 4 +- ...ngs-Visibility-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-Visibility-macos-x86_64-R4.4.rs | 4 +- ...bindings-Visibility-windows-x86_64-R4.3.rs | 10 +- ...bindings-Visibility-windows-x86_64-R4.4.rs | 2 +- ...gs-Visibility-windows-x86_64-R4.5-devel.rs | 10 +- .../bindings-eventloop-linux-aarch64-R4.4.rs | 2 +- .../bindings-eventloop-linux-x86_64-R4.4.rs | 2 +- .../bindings-eventloop-macos-aarch64-R4.3.rs | 2 +- .../bindings-eventloop-macos-aarch64-R4.4.rs | 4 +- ...ings-eventloop-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-eventloop-macos-x86_64-R4.4.rs | 4 +- .../bindings-ga-windows-x86_64-R4.3.rs | 69 +- .../bindings-ga-windows-x86_64-R4.4.rs | 2 +- .../bindings-ga-windows-x86_64-R4.5-devel.rs | 70 +- .../bindings-graphapp-windows-x86_64-R4.3.rs | 36 +- .../bindings-graphapp-windows-x86_64-R4.4.rs | 2 +- ...ings-graphapp-windows-x86_64-R4.5-devel.rs | 36 +- .../bindings-iconv-windows-x86_64-R4.3.rs | 2 +- .../bindings-iconv-windows-x86_64-R4.4.rs | 2 +- ...indings-iconv-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-libextern-linux-aarch64-R4.4.rs | 2 +- .../bindings-libextern-linux-x86_64-R4.4.rs | 2 +- .../bindings-libextern-macos-aarch64-R4.3.rs | 2 +- .../bindings-libextern-macos-aarch64-R4.4.rs | 4 +- ...ings-libextern-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-libextern-macos-x86_64-R4.4.rs | 4 +- .../bindings-libextern-windows-x86_64-R4.3.rs | 2 +- .../bindings-libextern-windows-x86_64-R4.4.rs | 2 +- ...ngs-libextern-windows-x86_64-R4.5-devel.rs | 2 +- .../bindings-libintl-macos-aarch64-R4.3.rs | 2 +- .../bindings-libintl-macos-aarch64-R4.4.rs | 4 +- ...ndings-libintl-macos-aarch64-R4.5-devel.rs | 2 +- .../bindings-libintl-macos-x86_64-R4.4.rs | 4 +- .../bindings-libintl-windows-x86_64-R4.3.rs | 2 +- .../bindings-libintl-windows-x86_64-R4.4.rs | 2 +- ...dings-libintl-windows-x86_64-R4.5-devel.rs | 2 +- ...ndings-stats_package-linux-aarch64-R4.4.rs | 2 +- ...indings-stats_package-linux-x86_64-R4.4.rs | 2 +- ...ndings-stats_package-macos-aarch64-R4.3.rs | 2 +- ...ndings-stats_package-macos-aarch64-R4.4.rs | 4 +- ...-stats_package-macos-aarch64-R4.5-devel.rs | 2 +- ...indings-stats_package-macos-x86_64-R4.4.rs | 4 +- ...dings-stats_package-windows-x86_64-R4.3.rs | 10 +- ...dings-stats_package-windows-x86_64-R4.4.rs | 2 +- ...stats_package-windows-x86_64-R4.5-devel.rs | 10 +- ...bindings-stats_stubs-linux-aarch64-R4.3.rs | 53 - ...bindings-stats_stubs-linux-aarch64-R4.4.rs | 55 +- ...gs-stats_stubs-linux-aarch64-R4.5-devel.rs | 53 - .../bindings-stats_stubs-linux-x86_64-R4.3.rs | 62 - .../bindings-stats_stubs-linux-x86_64-R4.4.rs | 64 +- ...ngs-stats_stubs-linux-x86_64-R4.5-devel.rs | 62 - ...bindings-stats_stubs-macos-aarch64-R4.3.rs | 64 +- ...bindings-stats_stubs-macos-aarch64-R4.4.rs | 66 +- ...gs-stats_stubs-macos-aarch64-R4.5-devel.rs | 64 +- .../bindings-stats_stubs-macos-x86_64-R4.4.rs | 74 +- ...indings-stats_stubs-windows-x86_64-R4.3.rs | 1271 +---------------- ...indings-stats_stubs-windows-x86_64-R4.4.rs | 2 +- ...s-stats_stubs-windows-x86_64-R4.5-devel.rs | 1259 +--------------- 430 files changed, 1665 insertions(+), 22871 deletions(-) diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs index b0a2aef2..0591236d 100644 --- a/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs index b3a09cde..38fd369f 100644 --- a/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs index f1074604..941d8f06 100644 --- a/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs index c1f290e3..0591236d 100644 --- a/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -185,15 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs index 9b01cd2b..38fd369f 100644 --- a/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -185,15 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs index 292ac095..941d8f06 100644 --- a/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -185,15 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs index 9f2c913f..f069474c 100644 --- a/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -193,7 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs index 1ceb91f2..0fa86f01 100644 --- a/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -193,7 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs index 7a6bb7e6..8f704649 100644 --- a/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -193,7 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs index e57beebc..0fa86f01 100644 --- a/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, @@ -193,15 +132,6 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs index 070af1e6..b6dd0f02 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,25 +53,8 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -86,28 +69,6 @@ pub struct Rcomplex { pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _DllInfo { @@ -115,21 +76,6 @@ pub struct _DllInfo { } pub type DllInfo = _DllInfo; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -#[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -255,178 +201,7 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs index 69d27278..0c722857 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs index c28a0241..0633a858 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,25 +53,8 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -86,28 +69,6 @@ pub struct Rcomplex { pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _DllInfo { @@ -115,21 +76,6 @@ pub struct _DllInfo { } pub type DllInfo = _DllInfo; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -#[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, } @@ -255,165 +201,7 @@ pub type R_altlist_Elt_method_t = ::std::option::Option SEXP>; pub type R_altlist_Set_elt_method_t = ::std::option::Option; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; pub fn R_make_altstring_class( cname: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs b/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs index 9b4038dd..4a25d73d 100644 --- a/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs b/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs index 9b4038dd..4a25d73d 100644 --- a/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs index 0c0b9c4c..e673183e 100644 --- a/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs index 07f36234..2f600f50 100644 --- a/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs index c2371923..aca18a8c 100644 --- a/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs b/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs index 07f36234..2f600f50 100644 --- a/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs index 8c9c1d64..45d9ce25 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -1,66 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] @@ -71,12 +14,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), @@ -117,813 +54,6 @@ pub type d2fcn_p = ::std::option::Option< ), >; extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] pub fn Rdqags( f: integr_fn, @@ -1052,6 +182,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] pub fn dqrqty_( x: *mut f64, n: *mut ::std::os::raw::c_int, @@ -1121,6 +252,7 @@ extern "C" { wrk: *mut f64, itncnt: *mut ::std::os::raw::c_int, ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] pub fn dqrdc2_( x: *mut f64, ldx: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs index 6dd5d09c..35c10bb7 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs index de277168..568f29d5 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] @@ -62,13 +54,6 @@ pub type d2fcn_p = ::std::option::Option< ), >; extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] pub fn Rdqags( f: integr_fn, @@ -197,6 +182,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] pub fn dqrqty_( x: *mut f64, n: *mut ::std::os::raw::c_int, @@ -266,6 +252,7 @@ extern "C" { wrk: *mut f64, itncnt: *mut ::std::os::raw::c_int, ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] pub fn dqrdc2_( x: *mut f64, ldx: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs b/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs index f0e93900..da580615 100644 --- a/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs b/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs index f0e93900..da580615 100644 --- a/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs index 4f642812..ea58362d 100644 --- a/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs index c965e612..42b78e68 100644 --- a/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs index f436d5fb..b3ff2831 100644 --- a/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs b/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs index c965e612..42b78e68 100644 --- a/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs index 3d439b41..ed820878 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs index c088d573..d22610ac 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs index db47f20e..af874a61 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs b/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs index 842c69cf..775f2221 100644 --- a/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs index 842c69cf..775f2221 100644 --- a/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs index c65b2100..d921696a 100644 --- a/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs index f13df447..50f4f382 100644 --- a/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs index 3c058beb..b4c5ead5 100644 --- a/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs index f13df447..50f4f382 100644 --- a/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs index 92f1de50..dc77951e 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -70,13 +62,6 @@ pub struct Rcomplex { pub bindgen_union_field: [u64; 2usize], } extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn dasum_( n: *const ::std::os::raw::c_int, dx: *const f64, @@ -152,6 +137,7 @@ extern "C" { dx: *const f64, incx: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgbmv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -168,6 +154,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgemv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -182,6 +169,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsbmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -196,6 +184,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -208,6 +197,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -221,6 +211,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtbmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -235,6 +226,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtpmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -247,6 +239,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtrmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -260,6 +253,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtbsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -274,6 +268,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtpsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -286,6 +281,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtrsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -299,6 +295,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] pub fn dger_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -310,6 +307,7 @@ extern "C" { a: *mut f64, lda: *const ::std::os::raw::c_int, ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dsyr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -320,6 +318,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dspr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -329,6 +328,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dsyr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -341,6 +341,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dspr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -352,6 +353,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] pub fn dgemm_( transa: *const ::std::os::raw::c_char, transb: *const ::std::os::raw::c_char, @@ -369,6 +371,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] pub fn dtrsm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -386,6 +389,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] pub fn dtrmm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -403,6 +407,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] pub fn dsymm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -419,6 +424,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] pub fn dsyrk_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -433,6 +439,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] pub fn dsyr2k_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -449,6 +456,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] pub fn dcabs1_(z: *const Rcomplex) -> f64; pub fn dzasum_( n: *const ::std::os::raw::c_int, @@ -480,6 +488,7 @@ extern "C" { zy: *const Rcomplex, incy: *const ::std::os::raw::c_int, ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] pub fn zdotc_( n: *const ::std::os::raw::c_int, zx: *const Rcomplex, diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs index 2a22c2c9..92602d85 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs index 3b2f60cc..79dd70af 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -70,13 +62,6 @@ pub struct Rcomplex { pub bindgen_union_field: [u64; 2usize], } extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn dasum_( n: *const ::std::os::raw::c_int, dx: *const f64, @@ -152,6 +137,7 @@ extern "C" { dx: *const f64, incx: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgbmv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -168,6 +154,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] pub fn dgemv_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -182,6 +169,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsbmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -196,6 +184,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -208,6 +197,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] pub fn dsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -221,6 +211,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtbmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -235,6 +226,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtpmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -247,6 +239,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] pub fn dtrmv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -260,6 +253,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtbsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -274,6 +268,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtpsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -286,6 +281,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] pub fn dtrsv_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -299,6 +295,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] pub fn dger_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -310,6 +307,7 @@ extern "C" { a: *mut f64, lda: *const ::std::os::raw::c_int, ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dsyr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -320,6 +318,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] pub fn dspr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -329,6 +328,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dsyr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -341,6 +341,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] pub fn dspr2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -352,6 +353,7 @@ extern "C" { ap: *mut f64, arg1: usize, ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] pub fn dgemm_( transa: *const ::std::os::raw::c_char, transb: *const ::std::os::raw::c_char, @@ -369,6 +371,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] pub fn dtrsm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -386,6 +389,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] pub fn dtrmm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -403,6 +407,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] pub fn dsymm_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -419,6 +424,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] pub fn dsyrk_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -433,6 +439,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] pub fn dsyr2k_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -449,6 +456,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] pub fn dcabs1_(z: *const Rcomplex) -> f64; pub fn dzasum_( n: *const ::std::os::raw::c_int, @@ -480,6 +488,7 @@ extern "C" { zy: *const Rcomplex, incy: *const ::std::os::raw::c_int, ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] pub fn zdotc_( n: *const ::std::os::raw::c_int, zx: *const Rcomplex, @@ -877,6 +886,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] pub fn zspmv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs b/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs index 74b40186..f427c798 100644 --- a/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs index 74b40186..f427c798 100644 --- a/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs index dcacde99..0a432824 100644 --- a/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs index b8bcbccf..ba357112 100644 --- a/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs index 3465b890..d0d4c56d 100644 --- a/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs index b8bcbccf..ba357112 100644 --- a/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs index 014472cf..b4ccc6bc 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs index 35e8d787..2baf8809 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs index 9bd87669..a8b3e38d 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs index 15024ebd..1d8d9e97 100644 --- a/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs index 1a9d5f07..2e044702 100644 --- a/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs index bb370ed8..c6ff5a76 100644 --- a/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs index fa91b6ca..1d8d9e97 100644 --- a/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -138,12 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs index 6197a08c..2e044702 100644 --- a/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -138,12 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs index 61781504..c6ff5a76 100644 --- a/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -138,12 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs index 7e9c7b0f..e000e283 100644 --- a/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -146,4 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs index 9fc2f224..0e0946c9 100644 --- a/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -146,4 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs index 59a978f3..ea58b534 100644 --- a/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -146,4 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs index ed35499d..0e0946c9 100644 --- a/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -146,12 +85,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs index 2fcb79e1..f57ff68f 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -1,95 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -98,224 +14,7 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -396,881 +95,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs index 3ab5432c..56d3f8e5 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs index 04acac1b..88e6bdb3 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -1,96 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -99,224 +14,7 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< unsafe extern "C" fn( @@ -397,868 +95,3 @@ pub struct _R_ObjectTable { pub onAttach: Rdb_onAttach, pub privateData: *mut ::std::os::raw::c_void, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs b/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs index d7f40b13..41d17112 100644 --- a/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs b/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs index d7f40b13..41d17112 100644 --- a/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs index 5ffa6ca7..5e9fbca4 100644 --- a/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs index b5b8d848..294e99f1 100644 --- a/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs index 4371df2a..b64a033d 100644 --- a/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs b/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs index b5b8d848..294e99f1 100644 --- a/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs index d12f5935..cf2f17cc 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs index 28e3133e..aa1dfb2c 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs index f00ef901..9fb46ffe 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs index b7c9f0e5..e1c9968c 100644 --- a/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs @@ -8,58 +8,6 @@ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs index 5d795da8..b83058d5 100644 --- a/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs @@ -2,64 +2,12 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs index 163ed1e4..b1e7360a 100644 --- a/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs @@ -8,58 +8,6 @@ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs index bbe5374d..e2b3030e 100644 --- a/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs @@ -8,58 +8,6 @@ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs index 29a2c095..3b9a6dd6 100644 --- a/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs @@ -2,64 +2,12 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs index b343fb58..282c5f5a 100644 --- a/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs @@ -8,58 +8,6 @@ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs index 89ef846d..6507810f 100644 --- a/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs @@ -1,73 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs index 3509f4b8..cabc73c0 100644 --- a/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs @@ -1,73 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs index b1a8e239..d3e2ea35 100644 --- a/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs @@ -1,73 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs b/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs index 7df08df3..560a8f13 100644 --- a/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs @@ -1,73 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_CONNECTIONS_VERSION: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type Rconnection = *mut Rconn; #[repr(C)] pub struct Rconn { diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs index a3b07cdc..ae8a5f80 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -1,78 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -81,55 +17,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -225,175 +112,3 @@ pub struct Rconn { pub buff_pos: usize, } pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs index 5591dfee..0b087cc9 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const R_CONNECTIONS_VERSION: u32 = 1; diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs index c870d5e6..b06f0861 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -1,78 +1,14 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_CONNECTIONS_VERSION: u32 = 1; pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -81,55 +17,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rconnection = *mut Rconn; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -225,162 +112,3 @@ pub struct Rconn { pub buff_pos: usize, } pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs b/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs index ce552136..470a994e 100644 --- a/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs b/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs index ce552136..470a994e 100644 --- a/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs index 9cdcf5df..d34dde3e 100644 --- a/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs index 0824764d..07971791 100644 --- a/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs index a909b4ae..b1c5388d 100644 --- a/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs b/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs index 0824764d..07971791 100644 --- a/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs index f5c99eda..e9c9c0fa 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs index 968134eb..6df00fab 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs index 96a99ce3..3fe2163d 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const PI: f64 = 3.141592653589793; diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.4.rs b/src/bindings/bindings-Error-linux-aarch64-R4.4.rs index f59903d9..c73e8b31 100644 --- a/src/bindings/bindings-Error-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Error-linux-aarch64-R4.4.rs @@ -2,11 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs index de05cef2..7d26bda3 100644 --- a/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs @@ -6,7 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.4.rs b/src/bindings/bindings-Error-linux-x86_64-R4.4.rs index ceb12133..c73e8b31 100644 --- a/src/bindings/bindings-Error-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Error-linux-x86_64-R4.4.rs @@ -2,20 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs index b6d49a7d..7d26bda3 100644 --- a/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs @@ -6,16 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.3.rs b/src/bindings/bindings-Error-macos-aarch64-R4.3.rs index 6ab606db..e77a191e 100644 --- a/src/bindings/bindings-Error-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Error-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.4.rs b/src/bindings/bindings-Error-macos-aarch64-R4.4.rs index 9b00ebc5..82d17cf6 100644 --- a/src/bindings/bindings-Error-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Error-macos-aarch64-R4.4.rs @@ -1,13 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs index 23cd9312..6e5b3ff7 100644 --- a/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs @@ -1,13 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-macos-x86_64-R4.4.rs b/src/bindings/bindings-Error-macos-x86_64-R4.4.rs index 0153a126..82d17cf6 100644 --- a/src/bindings/bindings-Error-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Error-macos-x86_64-R4.4.rs @@ -1,21 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.3.rs b/src/bindings/bindings-Error-windows-x86_64-R4.3.rs index faf4a01f..baba3c4e 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Error-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs index d3d3fdc8..f86f6cb3 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs index c170d9d0..87ab4422 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs @@ -1,19 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs index 1495cb58..6fabae98 100644 --- a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs index 1495cb58..6fabae98 100644 --- a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs index 8c4bfa56..ffe66200 100644 --- a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs index c19f303a..dc10260b 100644 --- a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs index 9b941b59..ad8295f5 100644 --- a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs b/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs index c19f303a..dc10260b 100644 --- a/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs index ef3feab9..fd4dacd0 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs index 4798cec1..2294d0a7 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs index 108bcdfe..0d1d9d52 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs index 5629b5e2..fd4dacd0 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -358,15 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs index cd7bb475..2294d0a7 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -358,15 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs index 4df9ca42..0d1d9d52 100644 --- a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs @@ -10,59 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -358,15 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; pub fn Rf_NumDevices() -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs index d77805cb..ba5984be 100644 --- a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const R_USE_PROTOTYPES: u32 = 1; @@ -10,67 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -366,7 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs index f7da91ae..62116021 100644 --- a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; @@ -10,67 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -366,7 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs index d53068d5..2a77198a 100644 --- a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const R_USE_PROTOTYPES: u32 = 1; @@ -10,67 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -366,7 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs index a8ad9939..62116021 100644 --- a/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; @@ -10,67 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -366,15 +305,6 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs index d30e0d13..d3c3f2a2 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -1,81 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -84,55 +18,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -428,187 +313,23 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; + #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] pub fn R_CheckDeviceAvailable(); pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); pub fn Rf_NoDevices() -> ::std::os::raw::c_int; pub fn Rf_NewFrameConfirm(arg1: pDevDesc); @@ -626,6 +347,7 @@ extern "C" { pub static mut R_interrupts_pending: ::std::os::raw::c_int; pub fn Rf_onintr(); pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] pub fn Rf_AdobeSymbol2utf8( out: *mut ::std::os::raw::c_char, in_: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs index 3c38f419..cbcd8eb2 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const R_USE_PROTOTYPES: u32 = 1; diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs index c553c30b..e462f49c 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -1,81 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_USE_PROTOTYPES: u32 = 1; pub const leftButton: u32 = 1; pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -84,55 +18,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; @@ -428,174 +313,23 @@ pub enum R_MouseEvent { meMouseUp = 1, meMouseMove = 2, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; + #[doc = "Properly declared version of devNumber"] pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] pub fn Rf_NumDevices() -> ::std::os::raw::c_int; #[doc = "Check for an available device slot"] pub fn R_CheckDeviceAvailable(); pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); pub fn Rf_NoDevices() -> ::std::os::raw::c_int; pub fn Rf_NewFrameConfirm(arg1: pDevDesc); @@ -613,6 +347,7 @@ extern "C" { pub static mut R_interrupts_pending: ::std::os::raw::c_int; pub fn Rf_onintr(); pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] pub fn Rf_AdobeSymbol2utf8( out: *mut ::std::os::raw::c_char, in_: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs index 507180e3..5833d294 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs index c0a0b3e0..60c71b99 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs index cdadaddf..8e993c3e 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs index c2bf65e8..5833d294 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -244,15 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs index 9eb24da8..60c71b99 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -244,15 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs index 23fa179f..8e993c3e 100644 --- a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs @@ -72,59 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -244,15 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs index fddd37c8..55bbb968 100644 --- a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const R_GE_definitions: u32 = 13; @@ -72,67 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -252,7 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs index e6482119..10062ac9 100644 --- a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; @@ -72,67 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -252,7 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs index bc6b3e25..4ccc1515 100644 --- a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const R_GE_definitions: u32 = 13; @@ -72,67 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -252,7 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs index b2c60a09..10062ac9 100644 --- a/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; @@ -72,67 +72,6 @@ pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -252,15 +191,6 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs index 561fb582..47c6a445 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -1,77 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; pub const R_GE_glyphs: u32 = 16; pub const R_GE_version: u32 = 16; pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; pub const LTY_BLANK: i32 = -1; pub const LTY_SOLID: u32 = 0; pub const LTY_DASHED: u32 = 68; @@ -132,16 +70,8 @@ pub const R_GE_capability_glyphs: u32 = 12; pub const R_GE_text_style_normal: u32 = 1; pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -150,55 +80,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -539,42 +420,6 @@ pub struct _DevDesc { #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] pub reserved: [::std::os::raw::c_char; 64usize], } -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, @@ -613,223 +458,10 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + #[doc = "map DevDesc to enclosing GEDevDesc"] pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; @@ -859,8 +491,10 @@ extern "C" { pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs index f5874a1e..7fc30520 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const R_GE_definitions: u32 = 13; diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs index bacd3e29..8b86fe53 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -1,77 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; pub const R_GE_glyphs: u32 = 16; pub const R_GE_version: u32 = 16; pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; pub const LTY_BLANK: i32 = -1; pub const LTY_SOLID: u32 = 0; pub const LTY_DASHED: u32 = 68; @@ -132,16 +70,8 @@ pub const R_GE_capability_glyphs: u32 = 12; pub const R_GE_text_style_normal: u32 = 1; pub const R_GE_text_style_italic: u32 = 2; pub const R_GE_text_style_oblique: u32 = 3; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum Rboolean { @@ -150,55 +80,6 @@ pub enum Rboolean { #[doc = ", MAYBE"] TRUE = 1, } -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -539,42 +420,6 @@ pub struct _DevDesc { #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] pub reserved: [::std::os::raw::c_char; 64usize], } -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, @@ -613,210 +458,10 @@ pub struct _GEDevDesc { pub type pGEDevDesc = *mut GEDevDesc; #[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] pub type rcolor = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_GE_getVersion() -> ::std::os::raw::c_int; pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; + #[doc = "map DevDesc to enclosing GEDevDesc"] pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; @@ -846,8 +491,10 @@ extern "C" { pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs b/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs index 83c77d7b..343a6f0f 100644 --- a/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs index 83c77d7b..343a6f0f 100644 --- a/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs index 19c43466..b44730a4 100644 --- a/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs index e326d406..10a8aecc 100644 --- a/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs index 41703cad..d0fcf243 100644 --- a/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs index e326d406..10a8aecc 100644 --- a/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs index cffaec6f..a18c08ad 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs index a58cd0ba..53952474 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs index 27128d07..3c8d37eb 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const GET_REGION_BUFSIZE: u32 = 512; diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs b/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs index ebf2a83f..3fc082e3 100644 --- a/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs index ebf2a83f..3fc082e3 100644 --- a/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs index ac6005c5..71470981 100644 --- a/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs index deac5bd4..c1589d30 100644 --- a/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs index e8ce3c49..67a7ca55 100644 --- a/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs index deac5bd4..c1589d30 100644 --- a/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs index dd1bc6b8..8984f1cb 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -73,818 +65,13 @@ pub type L_fp = ::std::option::Option< unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, >; extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] pub fn ilaver_( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, patch: *mut ::std::os::raw::c_int, ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] pub fn dbdsqr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -903,6 +90,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] pub fn ddisna_( job: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -912,6 +100,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] pub fn dgbbrd_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -933,6 +122,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dgbcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -948,6 +138,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] pub fn dgbequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -962,6 +153,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] pub fn dgbrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -984,6 +176,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] pub fn dgbsv_( n: *const ::std::os::raw::c_int, kl: *const ::std::os::raw::c_int, @@ -996,6 +189,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] pub fn dgbsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1024,6 +218,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] pub fn dgbtf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1034,6 +229,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] pub fn dgbtrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1044,6 +240,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] pub fn dgbtrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1058,6 +255,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] pub fn dgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1072,6 +270,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEBAL - balance a general real matrix A"] pub fn dgebal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1083,6 +282,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebd2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1095,6 +295,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1108,6 +309,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] pub fn dgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1120,6 +322,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] pub fn dgeequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1132,6 +335,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgees_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1153,6 +357,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgeesx_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1180,6 +385,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -1198,6 +404,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeevx_( balanc: *const ::std::os::raw::c_char, jobvl: *const ::std::os::raw::c_char, @@ -1227,6 +434,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehd2_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1237,6 +445,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehrd_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1248,6 +457,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] pub fn dgelq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1257,6 +467,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] pub fn dgelqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1267,6 +478,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] pub fn dgels_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1281,6 +493,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] pub fn dgelss_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1296,6 +509,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] pub fn dgelsy_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1311,6 +525,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] pub fn dgeql2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1320,6 +535,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] pub fn dgeqlf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1330,6 +546,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] pub fn dgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1341,6 +558,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] pub fn dgeqr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1350,6 +568,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] pub fn dgeqrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1360,6 +579,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dgerfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1380,6 +600,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] pub fn dgerq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1389,6 +610,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] pub fn dgerqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1399,6 +621,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1409,6 +632,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] pub fn dgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -1427,6 +651,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] pub fn dgesvx_( fact: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1454,6 +679,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] pub fn dgetf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1462,6 +688,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] pub fn dgetrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1470,6 +697,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] pub fn dgetri_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -1479,6 +707,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] pub fn dgetrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1491,6 +720,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] pub fn dggbak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1506,6 +736,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] pub fn dggbal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1521,6 +752,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] pub fn dgges_( jobvsl: *const ::std::os::raw::c_char, jobvsr: *const ::std::os::raw::c_char, @@ -1552,6 +784,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] pub fn dggglm_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1567,6 +800,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] pub fn dgghrd_( compq: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -1585,6 +819,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] pub fn dgglse_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1600,6 +835,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] pub fn dggqrf_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1614,6 +850,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] pub fn dggrqf_( m: *const ::std::os::raw::c_int, p: *const ::std::os::raw::c_int, @@ -1628,6 +865,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] pub fn dgtcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1643,6 +881,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] pub fn dgtrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1666,6 +905,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] pub fn dgtsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1676,6 +916,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] pub fn dgtsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1701,6 +942,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] pub fn dgttrf_( n: *const ::std::os::raw::c_int, dl: *mut f64, @@ -1710,6 +952,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] pub fn dgttrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1724,6 +967,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] pub fn dopgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1735,6 +979,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dopmtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1751,6 +996,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2l_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1761,6 +1007,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2r_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1771,6 +1018,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] pub fn dorgbr_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1784,6 +1032,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] pub fn dorghr_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1795,6 +1044,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgl2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1805,6 +1055,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] pub fn dorglq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1816,6 +1067,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgql_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1827,6 +1079,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgqr_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1838,6 +1091,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1848,6 +1102,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] pub fn dorgrq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1859,6 +1114,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] pub fn dorgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1870,6 +1126,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2l_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1886,6 +1143,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2r_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1902,6 +1160,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormbr_( vect: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1921,6 +1180,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormhr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1939,6 +1199,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorml2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1955,6 +1216,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormlq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1972,6 +1234,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormql_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1989,6 +1252,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2006,6 +1270,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dormr2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2022,6 +1287,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormrq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2039,6 +1305,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2057,6 +1324,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] pub fn dpbcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2070,6 +1338,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] pub fn dpbequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2082,6 +1351,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpbrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2102,6 +1372,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbstf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2111,6 +1382,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2123,6 +1395,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2148,6 +1421,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2157,6 +1431,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2166,6 +1441,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] pub fn dpbtrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2178,6 +1454,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] pub fn dpocon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2190,6 +1467,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] pub fn dpoequ_( n: *const ::std::os::raw::c_int, a: *const f64, @@ -2199,6 +1477,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] pub fn dporfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2218,6 +1497,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2229,6 +1509,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2253,6 +1534,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2261,6 +1543,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2269,6 +1552,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] pub fn dpotri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2277,6 +1561,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] pub fn dpotrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2288,6 +1573,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] pub fn dppcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2299,6 +1585,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] pub fn dppequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2309,6 +1596,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2326,6 +1614,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2336,6 +1625,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsvx_( fact: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2359,6 +1649,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] pub fn dpptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2366,6 +1657,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] pub fn dpptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2373,6 +1665,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] pub fn dpptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2383,6 +1676,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] pub fn dptcon_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2392,6 +1686,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] pub fn dpteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2403,6 +1698,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] pub fn dptrfs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2419,6 +1715,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] pub fn dptsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2428,6 +1725,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] pub fn dptsvx_( fact: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2446,12 +1744,14 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] pub fn dpttrf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] pub fn dpttrs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2461,12 +1761,14 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] pub fn drscl_( n: *const ::std::os::raw::c_int, da: *const f64, x: *mut f64, incx: *const ::std::os::raw::c_int, ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2482,6 +1784,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2500,6 +1803,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2527,6 +1831,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] pub fn dsbgst_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2544,6 +1849,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] pub fn dsbgv_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2562,6 +1868,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsbtrd_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2578,6 +1885,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dspcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2590,6 +1898,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2603,6 +1912,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2619,6 +1929,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2642,6 +1953,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] pub fn dspgst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2651,6 +1963,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] pub fn dspgv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -2667,6 +1980,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dsprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2685,6 +1999,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dspsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2696,6 +2011,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] pub fn dspsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2716,6 +2032,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] pub fn dsptrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2726,6 +2043,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] pub fn dsptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2734,6 +2052,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] pub fn dsptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2743,6 +2062,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dsptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2754,6 +2074,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] pub fn dstebz_( range: *const ::std::os::raw::c_char, order: *const ::std::os::raw::c_char, @@ -2776,6 +2097,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] pub fn dstedc_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2790,6 +2112,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] pub fn dstein_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2805,6 +2128,7 @@ extern "C" { ifail: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] pub fn dsteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2816,12 +2140,14 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] pub fn dsterf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] pub fn dstev_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2833,6 +2159,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] pub fn dstevd_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2847,6 +2174,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] pub fn dstevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2869,6 +2197,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] pub fn dsycon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2882,6 +2211,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2895,6 +2225,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2910,6 +2241,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] pub fn dsyevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2935,6 +2267,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevr_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2961,6 +2294,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygs2_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2972,6 +2306,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2983,6 +2318,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] pub fn dsygv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -2999,6 +2335,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] pub fn dsyrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3019,6 +2356,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dsysv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3033,6 +2371,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] pub fn dsysvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -3056,6 +2395,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytd2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3067,6 +2407,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3076,6 +2417,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3089,6 +2431,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3100,6 +2443,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] pub fn dsytri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3110,6 +2454,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] pub fn dsytrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3122,6 +2467,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtbcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3138,6 +2484,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] pub fn dtbrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3160,6 +2507,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtbtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3176,6 +2524,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] pub fn dtgevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3196,6 +2545,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] pub fn dtgsja_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -3226,6 +2576,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtpcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3240,6 +2591,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] pub fn dtprfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3260,6 +2612,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] pub fn dtptri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3269,6 +2622,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtptrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3282,6 +2636,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] pub fn dtrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3297,6 +2652,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] pub fn dtrevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3315,6 +2671,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] pub fn dtrexc_( compq: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3328,6 +2685,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] pub fn dtrrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3349,6 +2707,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] pub fn dtrsen_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3371,6 +2730,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] pub fn dtrsna_( job: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3393,6 +2753,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] pub fn dtrsyl_( trana: *const ::std::os::raw::c_char, tranb: *const ::std::os::raw::c_char, @@ -3410,6 +2771,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] pub fn dtrti2_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3420,6 +2782,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] pub fn dtrtri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3430,6 +2793,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] pub fn dtrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3445,6 +2809,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] pub fn dhgeqz_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3470,6 +2835,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] pub fn dhsein_( side: *const ::std::os::raw::c_char, eigsrc: *const ::std::os::raw::c_char, @@ -3494,6 +2860,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] pub fn dhseqr_( job: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -3512,7 +2879,9 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] pub fn dlabrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3528,6 +2897,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] pub fn dlacon_( n: *const ::std::os::raw::c_int, v: *mut f64, @@ -3536,6 +2906,7 @@ extern "C" { est: *mut f64, kase: *mut ::std::os::raw::c_int, ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] pub fn dlacpy_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3546,6 +2917,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLADIV - perform complex division in real arithmetic"] pub fn dladiv_( a: *const f64, b: *const f64, @@ -3554,7 +2926,9 @@ extern "C" { p: *mut f64, q: *mut f64, ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] pub fn dlaebz_( ijob: *const ::std::os::raw::c_int, nitmax: *const ::std::os::raw::c_int, @@ -3577,6 +2951,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] pub fn dlaed0_( icompq: *const ::std::os::raw::c_int, qsiz: *const ::std::os::raw::c_int, @@ -3591,6 +2966,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -3603,6 +2979,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] pub fn dlaed2_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3621,6 +2998,7 @@ extern "C" { coltyp: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] pub fn dlaed3_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3637,6 +3015,7 @@ extern "C" { s: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] pub fn dlaed4_( n: *const ::std::os::raw::c_int, i: *const ::std::os::raw::c_int, @@ -3647,6 +3026,7 @@ extern "C" { dlam: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] pub fn dlaed5_( i: *const ::std::os::raw::c_int, d: *const f64, @@ -3655,6 +3035,7 @@ extern "C" { rho: *const f64, dlam: *mut f64, ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] pub fn dlaed6_( kniter: *const ::std::os::raw::c_int, orgati: *const ::std::os::raw::c_int, @@ -3665,6 +3046,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed7_( icompq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3689,6 +3071,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] pub fn dlaed8_( icompq: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -3713,6 +3096,7 @@ extern "C" { indx: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] pub fn dlaed9_( k: *const ::std::os::raw::c_int, kstart: *const ::std::os::raw::c_int, @@ -3728,6 +3112,7 @@ extern "C" { lds: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] pub fn dlaeda_( n: *const ::std::os::raw::c_int, tlvls: *const ::std::os::raw::c_int, @@ -3744,6 +3129,7 @@ extern "C" { ztemp: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] pub fn dlaein_( rightv: *const ::std::os::raw::c_int, noinit: *const ::std::os::raw::c_int, @@ -3762,6 +3148,7 @@ extern "C" { bignum: *const f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] pub fn dlaev2_( a: *const f64, b: *const f64, @@ -3771,6 +3158,7 @@ extern "C" { cs1: *mut f64, sn1: *mut f64, ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] pub fn dlaexc_( wantq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3784,6 +3172,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] pub fn dlag2_( a: *const f64, lda: *const ::std::os::raw::c_int, @@ -3796,6 +3185,7 @@ extern "C" { wr2: *mut f64, wi: *mut f64, ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] pub fn dlags2_( upper: *const ::std::os::raw::c_int, a1: *const f64, @@ -3811,6 +3201,7 @@ extern "C" { csq: *mut f64, snq: *mut f64, ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] pub fn dlagtf_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -3822,6 +3213,7 @@ extern "C" { in_: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] pub fn dlagtm_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3837,6 +3229,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] pub fn dlagts_( job: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3849,6 +3242,7 @@ extern "C" { tol: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] pub fn dlahqr_( wantt: *const ::std::os::raw::c_int, wantz: *const ::std::os::raw::c_int, @@ -3865,6 +3259,7 @@ extern "C" { ldz: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] pub fn dlaic1_( job: *const ::std::os::raw::c_int, j: *const ::std::os::raw::c_int, @@ -3876,6 +3271,7 @@ extern "C" { s: *mut f64, c: *mut f64, ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] pub fn dlaln2_( ltrans: *const ::std::os::raw::c_int, na: *const ::std::os::raw::c_int, @@ -3896,7 +3292,9 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAMCH - determine double precision machine parameters"] pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] pub fn dlamrg_( n1: *const ::std::os::raw::c_int, n2: *const ::std::os::raw::c_int, @@ -3905,6 +3303,7 @@ extern "C" { dtrd2: *const ::std::os::raw::c_int, index: *mut ::std::os::raw::c_int, ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] pub fn dlangb_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3915,6 +3314,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] pub fn dlange_( norm: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3924,6 +3324,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] pub fn dlangt_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3932,6 +3333,7 @@ extern "C" { du: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] pub fn dlanhs_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3940,6 +3342,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] pub fn dlansb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3951,6 +3354,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] pub fn dlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3960,6 +3364,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] pub fn dlanst_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3967,6 +3372,7 @@ extern "C" { e: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] pub fn dlansy_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3977,6 +3383,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] pub fn dlantb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3990,6 +3397,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] pub fn dlantp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4001,6 +3409,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] pub fn dlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4014,6 +3423,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] pub fn dlanv2_( a: *mut f64, b: *mut f64, @@ -4026,6 +3436,7 @@ extern "C" { cs: *mut f64, sn: *mut f64, ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] pub fn dlapll_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4034,6 +3445,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, ssmin: *mut f64, ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] pub fn dlapmt_( forwrd: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -4042,8 +3454,11 @@ extern "C" { ldx: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] pub fn dlaqgb_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4059,6 +3474,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] pub fn dlaqge_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4072,6 +3488,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] pub fn dlaqsb_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4085,6 +3502,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsp_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4095,6 +3513,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsy_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4106,6 +3525,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] pub fn dlaqtr_( ltran: *const ::std::os::raw::c_int, lreal: *const ::std::os::raw::c_int, @@ -4119,6 +3539,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] pub fn dlar2v_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4129,6 +3550,7 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarf_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4141,6 +3563,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] pub fn dlarfb_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4162,6 +3585,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] pub fn dlarfg_( n: *const ::std::os::raw::c_int, alpha: *const f64, @@ -4169,6 +3593,7 @@ extern "C" { incx: *const ::std::os::raw::c_int, tau: *mut f64, ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] pub fn dlarft_( direct: *const ::std::os::raw::c_char, storev: *const ::std::os::raw::c_char, @@ -4182,6 +3607,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarfx_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4193,6 +3619,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] pub fn dlargv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4202,13 +3629,16 @@ extern "C" { c: *mut f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] pub fn dlarnv_( idist: *const ::std::os::raw::c_int, iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64, ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] pub fn dlartv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4219,8 +3649,11 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] pub fn dlascl_( type_: *const ::std::os::raw::c_char, kl: *const ::std::os::raw::c_int, @@ -4234,6 +3667,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] pub fn dlaset_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4244,6 +3678,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] pub fn dlasq1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -4251,6 +3686,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] pub fn dlasq2_( m: *const ::std::os::raw::c_int, q: *mut f64, @@ -4264,6 +3700,7 @@ extern "C" { kend: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] pub fn dlasq3_( n: *mut ::std::os::raw::c_int, q: *mut f64, @@ -4280,6 +3717,7 @@ extern "C" { tol2: *const f64, small2: *const f64, ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] pub fn dlasq4_( n: *const ::std::os::raw::c_int, q: *const f64, @@ -4287,6 +3725,7 @@ extern "C" { tau: *mut f64, sup: *mut f64, ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] pub fn dlasr_( side: *const ::std::os::raw::c_char, pivot: *const ::std::os::raw::c_char, @@ -4301,6 +3740,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] pub fn dlasrt_( id: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4308,6 +3748,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] pub fn dlassq_( n: *const ::std::os::raw::c_int, x: *const f64, @@ -4315,6 +3756,7 @@ extern "C" { scale: *mut f64, sumsq: *mut f64, ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] pub fn dlasv2_( f: *const f64, g: *const f64, @@ -4326,6 +3768,7 @@ extern "C" { snl: *mut f64, csl: *mut f64, ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] pub fn dlaswp_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -4335,6 +3778,7 @@ extern "C" { ipiv: *const ::std::os::raw::c_int, incx: *const ::std::os::raw::c_int, ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] pub fn dlasy2_( ltranl: *const ::std::os::raw::c_int, ltranr: *const ::std::os::raw::c_int, @@ -4353,6 +3797,7 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] pub fn dlasyf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4366,6 +3811,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] pub fn dlatbs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4384,6 +3830,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] pub fn dlatps_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4400,6 +3847,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] pub fn dlatrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4412,6 +3860,7 @@ extern "C" { ldw: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] pub fn dlatrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4429,6 +3878,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauu2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4437,6 +3887,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauum_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4445,11 +3896,13 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] pub fn izmax1_( n: *const ::std::os::raw::c_int, cx: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] pub fn zgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4462,6 +3915,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] pub fn zgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -4472,6 +3926,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] pub fn zgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4484,6 +3939,7 @@ extern "C" { rwork: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] pub fn zunmqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4501,6 +3957,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRTRS solves triangular systems"] pub fn ztrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4516,6 +3973,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -4535,6 +3993,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] pub fn zheev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4549,6 +4008,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] pub fn zgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -4567,6 +4027,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] pub fn zlacn2_( n: *const ::std::os::raw::c_int, v: *mut Rcomplex, @@ -4575,6 +4036,7 @@ extern "C" { kase: *mut ::std::os::raw::c_int, isave: *mut ::std::os::raw::c_int, ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] pub fn zlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4588,11 +4050,13 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] pub fn dzsum1_( n: *const ::std::os::raw::c_int, CX: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> f64; + #[doc = "Added in R 3.6.2"] pub fn zpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4620,6 +4084,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] pub fn dbdsdc_( uplo: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -4663,6 +4128,7 @@ extern "C" { jpiv: *mut ::std::os::raw::c_int, scale: *mut f64, ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] pub fn dgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -5730,6 +5196,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] pub fn lsame_( ca: *const ::std::os::raw::c_char, cb: *const ::std::os::raw::c_char, @@ -5754,6 +5221,15 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); pub fn zgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -6189,6 +5665,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] pub fn ztrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -6410,6 +5887,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -6445,6 +5923,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] pub fn dgegv_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -6466,6 +5945,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] pub fn dgeqpf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6476,6 +5956,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] pub fn dggsvd_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -6504,6 +5985,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] pub fn dtzrqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6512,6 +5994,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] pub fn dlahrd_( n: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -6524,6 +6007,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] pub fn dlatzm_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs index cc923826..a1a941eb 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs index bf80e63a..99e71b9e 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,14 +53,6 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -77,830 +69,13 @@ pub type L_fp = ::std::option::Option< ) -> *mut ::std::os::raw::c_int, >; extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] pub fn ilaver_( major: *mut ::std::os::raw::c_int, minor: *mut ::std::os::raw::c_int, patch: *mut ::std::os::raw::c_int, ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] pub fn dbdsqr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -919,6 +94,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] pub fn ddisna_( job: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -928,6 +104,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] pub fn dgbbrd_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -949,6 +126,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dgbcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -964,6 +142,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] pub fn dgbequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -978,6 +157,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] pub fn dgbrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1000,6 +180,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] pub fn dgbsv_( n: *const ::std::os::raw::c_int, kl: *const ::std::os::raw::c_int, @@ -1012,6 +193,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] pub fn dgbsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1040,6 +222,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1050,6 +233,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgbtrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1060,6 +244,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] pub fn dgbtrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1074,6 +259,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] pub fn dgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1088,6 +274,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEBAL - balance a general real matrix A"] pub fn dgebal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1099,6 +286,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebd2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1111,6 +299,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] pub fn dgebrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1124,6 +313,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] pub fn dgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1136,6 +326,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] pub fn dgeequ_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1148,6 +339,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgees_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1169,6 +361,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] pub fn dgeesx_( jobvs: *const ::std::os::raw::c_char, sort: *const ::std::os::raw::c_char, @@ -1196,6 +389,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -1214,6 +408,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] pub fn dgeevx_( balanc: *const ::std::os::raw::c_char, jobvl: *const ::std::os::raw::c_char, @@ -1243,6 +438,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehd2_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1253,6 +449,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] pub fn dgehrd_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1264,6 +461,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] pub fn dgelq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1273,6 +471,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] pub fn dgelqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1283,6 +482,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] pub fn dgels_( trans: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1297,6 +497,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] pub fn dgelss_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1312,6 +513,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] pub fn dgelsy_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1327,6 +529,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] pub fn dgeql2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1336,6 +539,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] pub fn dgeqlf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1346,6 +550,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] pub fn dgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1357,6 +562,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] pub fn dgeqr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1366,6 +572,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] pub fn dgeqrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1376,6 +583,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dgerfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1396,6 +604,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] pub fn dgerq2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1405,6 +614,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] pub fn dgerqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1415,6 +625,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1425,6 +636,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] pub fn dgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -1443,6 +655,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] pub fn dgesvx_( fact: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1470,6 +683,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetf2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1478,6 +692,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] pub fn dgetrf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1486,6 +701,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] pub fn dgetri_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -1495,6 +711,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] pub fn dgetrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1507,6 +724,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] pub fn dggbak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1522,6 +740,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] pub fn dggbal_( job: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1537,6 +756,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] pub fn dgges_( jobvsl: *const ::std::os::raw::c_char, jobvsr: *const ::std::os::raw::c_char, @@ -1568,6 +788,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] pub fn dggglm_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1583,6 +804,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] pub fn dgghrd_( compq: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -1601,6 +823,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] pub fn dgglse_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1616,6 +839,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] pub fn dggqrf_( n: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -1630,6 +854,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] pub fn dggrqf_( m: *const ::std::os::raw::c_int, p: *const ::std::os::raw::c_int, @@ -1644,6 +869,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] pub fn dgtcon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1659,6 +885,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] pub fn dgtrfs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1682,6 +909,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] pub fn dgtsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -1692,6 +920,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] pub fn dgtsvx_( fact: *const ::std::os::raw::c_int, trans: *const ::std::os::raw::c_char, @@ -1717,6 +946,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] pub fn dgttrf_( n: *const ::std::os::raw::c_int, dl: *mut f64, @@ -1726,6 +956,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] pub fn dgttrs_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1740,6 +971,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] pub fn dopgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1751,6 +983,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dopmtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -1767,6 +1000,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2l_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1777,6 +1011,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] pub fn dorg2r_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1787,6 +1022,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] pub fn dorgbr_( vect: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -1800,6 +1036,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] pub fn dorghr_( n: *const ::std::os::raw::c_int, ilo: *const ::std::os::raw::c_int, @@ -1811,6 +1048,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgl2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1821,6 +1059,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] pub fn dorglq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1832,6 +1071,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgql_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1843,6 +1083,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] pub fn dorgqr_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1854,6 +1095,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] pub fn dorgr2_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1864,6 +1106,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] pub fn dorgrq_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -1875,6 +1118,7 @@ extern "C" { lwork: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] pub fn dorgtr_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -1886,6 +1130,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2l_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1902,6 +1147,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorm2r_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1918,6 +1164,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormbr_( vect: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -1937,6 +1184,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormhr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1955,6 +1203,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dorml2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1971,6 +1220,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormlq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -1988,6 +1238,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormql_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2005,6 +1256,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2022,6 +1274,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] pub fn dormr2_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2038,6 +1291,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormrq_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -2055,6 +1309,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] pub fn dormtr_( side: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2073,6 +1328,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] pub fn dpbcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2086,6 +1342,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] pub fn dpbequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2098,6 +1355,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpbrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2118,6 +1376,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbstf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2127,6 +1386,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2139,6 +1399,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dpbsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2164,6 +1425,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2173,6 +1435,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] pub fn dpbtrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2182,6 +1445,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] pub fn dpbtrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2194,6 +1458,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] pub fn dpocon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2206,6 +1471,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] pub fn dpoequ_( n: *const ::std::os::raw::c_int, a: *const f64, @@ -2215,6 +1481,7 @@ extern "C" { amax: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] pub fn dporfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2234,6 +1501,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2245,6 +1513,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dposvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2269,6 +1538,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2277,6 +1547,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] pub fn dpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2285,6 +1556,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] pub fn dpotri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2293,6 +1565,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] pub fn dpotrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2304,6 +1577,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] pub fn dppcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2315,6 +1589,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] pub fn dppequ_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2325,6 +1600,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] pub fn dpprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2342,6 +1618,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2352,6 +1629,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dppsvx_( fact: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2375,6 +1653,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] pub fn dpptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2382,6 +1661,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] pub fn dpptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2389,6 +1669,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] pub fn dpptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2399,6 +1680,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] pub fn dptcon_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2408,6 +1690,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] pub fn dpteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2419,6 +1702,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] pub fn dptrfs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2435,6 +1719,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] pub fn dptsv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2444,6 +1729,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] pub fn dptsvx_( fact: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -2462,12 +1748,14 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] pub fn dpttrf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] pub fn dpttrs_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -2477,12 +1765,14 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] pub fn drscl_( n: *const ::std::os::raw::c_int, da: *const f64, x: *mut f64, incx: *const ::std::os::raw::c_int, ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2498,6 +1788,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2516,6 +1807,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] pub fn dsbevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2543,6 +1835,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] pub fn dsbgst_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2560,6 +1853,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] pub fn dsbgv_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2578,6 +1872,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsbtrd_( vect: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2594,6 +1889,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dspcon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2606,6 +1902,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2619,6 +1916,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2635,6 +1933,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] pub fn dspevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2658,6 +1957,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] pub fn dspgst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2667,6 +1967,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] pub fn dspgv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -2683,6 +1984,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] pub fn dsprfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2701,6 +2003,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dspsv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2712,6 +2015,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] pub fn dspsvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2732,6 +2036,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] pub fn dsptrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2742,6 +2047,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] pub fn dsptrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2750,6 +2056,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] pub fn dsptri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2759,6 +2066,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] pub fn dsptrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2770,6 +2078,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] pub fn dstebz_( range: *const ::std::os::raw::c_char, order: *const ::std::os::raw::c_char, @@ -2792,6 +2101,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] pub fn dstedc_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2806,6 +2116,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] pub fn dstein_( n: *const ::std::os::raw::c_int, d: *const f64, @@ -2821,6 +2132,7 @@ extern "C" { ifail: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] pub fn dsteqr_( compz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2832,12 +2144,14 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] pub fn dsterf_( n: *const ::std::os::raw::c_int, d: *mut f64, e: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] pub fn dstev_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2849,6 +2163,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] pub fn dstevd_( jobz: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2863,6 +2178,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] pub fn dstevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2885,6 +2201,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] pub fn dsycon_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -2898,6 +2215,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2911,6 +2229,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevd_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -2926,6 +2245,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] pub fn dsyevx_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2951,6 +2271,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] pub fn dsyevr_( jobz: *const ::std::os::raw::c_char, range: *const ::std::os::raw::c_char, @@ -2977,6 +2298,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygs2_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2988,6 +2310,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] pub fn dsygst_( itype: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -2999,6 +2322,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] pub fn dsygv_( itype: *const ::std::os::raw::c_int, jobz: *const ::std::os::raw::c_char, @@ -3015,6 +2339,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] pub fn dsyrfs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3035,6 +2360,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] pub fn dsysv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3049,6 +2375,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] pub fn dsysvx_( fact: *const ::std::os::raw::c_int, uplo: *const ::std::os::raw::c_char, @@ -3072,6 +2399,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytd2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3083,6 +2411,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytf2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3092,6 +2421,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] pub fn dsytrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3105,6 +2435,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] pub fn dsytrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3116,6 +2447,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] pub fn dsytri_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3126,6 +2458,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] pub fn dsytrs_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3138,6 +2471,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtbcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3154,6 +2488,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] pub fn dtbrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3176,6 +2511,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtbtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3192,6 +2528,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] pub fn dtgevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3212,6 +2549,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] pub fn dtgsja_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -3242,6 +2580,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] pub fn dtpcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3256,6 +2595,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] pub fn dtprfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3276,6 +2616,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] pub fn dtptri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3285,6 +2626,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] pub fn dtptrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3298,6 +2640,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] pub fn dtrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3313,6 +2656,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] pub fn dtrevc_( side: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3331,6 +2675,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] pub fn dtrexc_( compq: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3344,6 +2689,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] pub fn dtrrfs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3365,6 +2711,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] pub fn dtrsen_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3387,6 +2734,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] pub fn dtrsna_( job: *const ::std::os::raw::c_char, howmny: *const ::std::os::raw::c_char, @@ -3409,6 +2757,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] pub fn dtrsyl_( trana: *const ::std::os::raw::c_char, tranb: *const ::std::os::raw::c_char, @@ -3426,6 +2775,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] pub fn dtrti2_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3436,6 +2786,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] pub fn dtrtri_( uplo: *const ::std::os::raw::c_char, diag: *const ::std::os::raw::c_char, @@ -3446,6 +2797,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] pub fn dtrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -3461,6 +2813,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] pub fn dhgeqz_( job: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -3486,6 +2839,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] pub fn dhsein_( side: *const ::std::os::raw::c_char, eigsrc: *const ::std::os::raw::c_char, @@ -3510,6 +2864,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] pub fn dhseqr_( job: *const ::std::os::raw::c_char, compz: *const ::std::os::raw::c_char, @@ -3528,7 +2883,9 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] pub fn dlabrd_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3544,6 +2901,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] pub fn dlacon_( n: *const ::std::os::raw::c_int, v: *mut f64, @@ -3552,6 +2910,7 @@ extern "C" { est: *mut f64, kase: *mut ::std::os::raw::c_int, ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] pub fn dlacpy_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3562,6 +2921,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLADIV - perform complex division in real arithmetic"] pub fn dladiv_( a: *const f64, b: *const f64, @@ -3570,7 +2930,9 @@ extern "C" { p: *mut f64, q: *mut f64, ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] pub fn dlaebz_( ijob: *const ::std::os::raw::c_int, nitmax: *const ::std::os::raw::c_int, @@ -3593,6 +2955,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] pub fn dlaed0_( icompq: *const ::std::os::raw::c_int, qsiz: *const ::std::os::raw::c_int, @@ -3607,6 +2970,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -3619,6 +2983,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed2_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3637,6 +3002,7 @@ extern "C" { coltyp: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] pub fn dlaed3_( k: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3653,6 +3019,7 @@ extern "C" { s: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] pub fn dlaed4_( n: *const ::std::os::raw::c_int, i: *const ::std::os::raw::c_int, @@ -3663,6 +3030,7 @@ extern "C" { dlam: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] pub fn dlaed5_( i: *const ::std::os::raw::c_int, d: *const f64, @@ -3671,6 +3039,7 @@ extern "C" { rho: *const f64, dlam: *mut f64, ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] pub fn dlaed6_( kniter: *const ::std::os::raw::c_int, orgati: *const ::std::os::raw::c_int, @@ -3681,6 +3050,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] pub fn dlaed7_( icompq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3705,6 +3075,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] pub fn dlaed8_( icompq: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -3729,6 +3100,7 @@ extern "C" { indx: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] pub fn dlaed9_( k: *const ::std::os::raw::c_int, kstart: *const ::std::os::raw::c_int, @@ -3744,6 +3116,7 @@ extern "C" { lds: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] pub fn dlaeda_( n: *const ::std::os::raw::c_int, tlvls: *const ::std::os::raw::c_int, @@ -3760,6 +3133,7 @@ extern "C" { ztemp: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] pub fn dlaein_( rightv: *const ::std::os::raw::c_int, noinit: *const ::std::os::raw::c_int, @@ -3778,6 +3152,7 @@ extern "C" { bignum: *const f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] pub fn dlaev2_( a: *const f64, b: *const f64, @@ -3787,6 +3162,7 @@ extern "C" { cs1: *mut f64, sn1: *mut f64, ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] pub fn dlaexc_( wantq: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3800,6 +3176,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] pub fn dlag2_( a: *const f64, lda: *const ::std::os::raw::c_int, @@ -3812,6 +3189,7 @@ extern "C" { wr2: *mut f64, wi: *mut f64, ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] pub fn dlags2_( upper: *const ::std::os::raw::c_int, a1: *const f64, @@ -3827,6 +3205,7 @@ extern "C" { csq: *mut f64, snq: *mut f64, ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] pub fn dlagtf_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -3838,6 +3217,7 @@ extern "C" { in_: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] pub fn dlagtm_( trans: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3853,6 +3233,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] pub fn dlagts_( job: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -3865,6 +3246,7 @@ extern "C" { tol: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] pub fn dlahqr_( wantt: *const ::std::os::raw::c_int, wantz: *const ::std::os::raw::c_int, @@ -3881,6 +3263,7 @@ extern "C" { ldz: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] pub fn dlaic1_( job: *const ::std::os::raw::c_int, j: *const ::std::os::raw::c_int, @@ -3892,6 +3275,7 @@ extern "C" { s: *mut f64, c: *mut f64, ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] pub fn dlaln2_( ltrans: *const ::std::os::raw::c_int, na: *const ::std::os::raw::c_int, @@ -3912,7 +3296,9 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAMCH - determine double precision machine parameters"] pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] pub fn dlamrg_( n1: *const ::std::os::raw::c_int, n2: *const ::std::os::raw::c_int, @@ -3921,6 +3307,7 @@ extern "C" { dtrd2: *const ::std::os::raw::c_int, index: *mut ::std::os::raw::c_int, ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] pub fn dlangb_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3931,6 +3318,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] pub fn dlange_( norm: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -3940,6 +3328,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] pub fn dlangt_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3948,6 +3337,7 @@ extern "C" { du: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] pub fn dlanhs_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3956,6 +3346,7 @@ extern "C" { work: *mut f64, arg1: usize, ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] pub fn dlansb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3967,6 +3358,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] pub fn dlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3976,6 +3368,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] pub fn dlanst_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -3983,6 +3376,7 @@ extern "C" { e: *const f64, arg1: usize, ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] pub fn dlansy_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -3993,6 +3387,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] pub fn dlantb_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4006,6 +3401,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] pub fn dlantp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4017,6 +3413,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] pub fn dlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4030,6 +3427,7 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] pub fn dlanv2_( a: *mut f64, b: *mut f64, @@ -4042,6 +3440,7 @@ extern "C" { cs: *mut f64, sn: *mut f64, ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] pub fn dlapll_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4050,6 +3449,7 @@ extern "C" { incy: *const ::std::os::raw::c_int, ssmin: *mut f64, ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] pub fn dlapmt_( forwrd: *const ::std::os::raw::c_int, m: *const ::std::os::raw::c_int, @@ -4058,8 +3458,11 @@ extern "C" { ldx: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] pub fn dlaqgb_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4075,6 +3478,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] pub fn dlaqge_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4088,6 +3492,7 @@ extern "C" { equed: *const ::std::os::raw::c_char, arg1: usize, ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] pub fn dlaqsb_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4101,6 +3506,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsp_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4111,6 +3517,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] pub fn dlaqsy_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4122,6 +3529,7 @@ extern "C" { equed: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] pub fn dlaqtr_( ltran: *const ::std::os::raw::c_int, lreal: *const ::std::os::raw::c_int, @@ -4135,6 +3543,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] pub fn dlar2v_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4145,6 +3554,7 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarf_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4157,6 +3567,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] pub fn dlarfb_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4178,6 +3589,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] pub fn dlarfg_( n: *const ::std::os::raw::c_int, alpha: *const f64, @@ -4185,6 +3597,7 @@ extern "C" { incx: *const ::std::os::raw::c_int, tau: *mut f64, ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] pub fn dlarft_( direct: *const ::std::os::raw::c_char, storev: *const ::std::os::raw::c_char, @@ -4198,6 +3611,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] pub fn dlarfx_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4209,6 +3623,7 @@ extern "C" { work: *mut f64, arg1: usize, ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] pub fn dlargv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4218,13 +3633,16 @@ extern "C" { c: *mut f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] pub fn dlarnv_( idist: *const ::std::os::raw::c_int, iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64, ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] pub fn dlartv_( n: *const ::std::os::raw::c_int, x: *mut f64, @@ -4235,8 +3653,11 @@ extern "C" { s: *const f64, incc: *const ::std::os::raw::c_int, ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] pub fn dlascl_( type_: *const ::std::os::raw::c_char, kl: *const ::std::os::raw::c_int, @@ -4250,6 +3671,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] pub fn dlaset_( uplo: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -4260,6 +3682,7 @@ extern "C" { lda: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] pub fn dlasq1_( n: *const ::std::os::raw::c_int, d: *mut f64, @@ -4267,6 +3690,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] pub fn dlasq2_( m: *const ::std::os::raw::c_int, q: *mut f64, @@ -4280,6 +3704,7 @@ extern "C" { kend: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] pub fn dlasq3_( n: *mut ::std::os::raw::c_int, q: *mut f64, @@ -4296,6 +3721,7 @@ extern "C" { tol2: *const f64, small2: *const f64, ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] pub fn dlasq4_( n: *const ::std::os::raw::c_int, q: *const f64, @@ -4303,6 +3729,7 @@ extern "C" { tau: *mut f64, sup: *mut f64, ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] pub fn dlasr_( side: *const ::std::os::raw::c_char, pivot: *const ::std::os::raw::c_char, @@ -4317,6 +3744,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] pub fn dlasrt_( id: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4324,6 +3752,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] pub fn dlassq_( n: *const ::std::os::raw::c_int, x: *const f64, @@ -4331,6 +3760,7 @@ extern "C" { scale: *mut f64, sumsq: *mut f64, ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] pub fn dlasv2_( f: *const f64, g: *const f64, @@ -4342,6 +3772,7 @@ extern "C" { snl: *mut f64, csl: *mut f64, ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] pub fn dlaswp_( n: *const ::std::os::raw::c_int, a: *mut f64, @@ -4351,6 +3782,7 @@ extern "C" { ipiv: *const ::std::os::raw::c_int, incx: *const ::std::os::raw::c_int, ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] pub fn dlasy2_( ltranl: *const ::std::os::raw::c_int, ltranr: *const ::std::os::raw::c_int, @@ -4369,6 +3801,7 @@ extern "C" { xnorm: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] pub fn dlasyf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4382,6 +3815,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] pub fn dlatbs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4400,6 +3834,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] pub fn dlatps_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4416,6 +3851,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] pub fn dlatrd_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4428,6 +3864,7 @@ extern "C" { ldw: *const ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] pub fn dlatrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4445,6 +3882,7 @@ extern "C" { arg3: usize, arg4: usize, ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauu2_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4453,6 +3891,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] pub fn dlauum_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4461,11 +3900,13 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] pub fn izmax1_( n: *const ::std::os::raw::c_int, cx: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] pub fn zgecon_( norm: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4478,6 +3919,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] pub fn zgesv_( n: *const ::std::os::raw::c_int, nrhs: *const ::std::os::raw::c_int, @@ -4488,6 +3930,7 @@ extern "C" { ldb: *const ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] pub fn zgeqp3_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -4500,6 +3943,7 @@ extern "C" { rwork: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] pub fn zunmqr_( side: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4517,6 +3961,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRTRS solves triangular systems"] pub fn ztrtrs_( uplo: *const ::std::os::raw::c_char, trans: *const ::std::os::raw::c_char, @@ -4532,6 +3977,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesvd_( jobu: *const ::std::os::raw::c_char, jobvt: *const ::std::os::raw::c_char, @@ -4551,6 +3997,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] pub fn zheev_( jobz: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4565,6 +4012,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] pub fn zgeev_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -4583,6 +4031,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] pub fn zlacn2_( n: *const ::std::os::raw::c_int, v: *mut Rcomplex, @@ -4591,6 +4040,7 @@ extern "C" { kase: *mut ::std::os::raw::c_int, isave: *mut ::std::os::raw::c_int, ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] pub fn zlansp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4610,6 +4060,7 @@ extern "C" { arg1: usize, arg2: usize, ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] pub fn zlantr_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -4623,11 +4074,13 @@ extern "C" { arg2: usize, arg3: usize, ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] pub fn dzsum1_( n: *const ::std::os::raw::c_int, CX: *mut Rcomplex, incx: *const ::std::os::raw::c_int, ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] pub fn zpotrf_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -4710,6 +4163,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] pub fn dbdsdc_( uplo: *const ::std::os::raw::c_char, compq: *const ::std::os::raw::c_char, @@ -4753,6 +4207,7 @@ extern "C" { jpiv: *mut ::std::os::raw::c_int, scale: *mut f64, ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] pub fn dgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -5820,6 +5275,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] pub fn lsame_( ca: *const ::std::os::raw::c_char, cb: *const ::std::os::raw::c_char, @@ -5844,6 +5300,15 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); pub fn zgebak_( job: *const ::std::os::raw::c_char, side: *const ::std::os::raw::c_char, @@ -5977,6 +5442,7 @@ extern "C" { ipiv: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] pub fn zgetri_( n: *mut ::std::os::raw::c_int, a: *mut Rcomplex, @@ -6370,6 +5836,7 @@ extern "C" { info: *mut ::std::os::raw::c_int, arg1: usize, ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] pub fn zsymv_( uplo: *const ::std::os::raw::c_char, n: *const ::std::os::raw::c_int, @@ -6463,6 +5930,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] pub fn ztrcon_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -6684,6 +6152,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] pub fn zgesdd_( jobz: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, @@ -6719,6 +6188,7 @@ extern "C" { iwork: *mut ::std::os::raw::c_int, info: *mut ::std::os::raw::c_int, ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] pub fn zlanhp_( norm: *const ::std::os::raw::c_char, uplo: *const ::std::os::raw::c_char, @@ -6847,6 +6317,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] pub fn dgegv_( jobvl: *const ::std::os::raw::c_char, jobvr: *const ::std::os::raw::c_char, @@ -6868,6 +6339,7 @@ extern "C" { arg1: usize, arg2: usize, ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] pub fn dgeqpf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6878,6 +6350,7 @@ extern "C" { work: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] pub fn dggsvd_( jobu: *const ::std::os::raw::c_char, jobv: *const ::std::os::raw::c_char, @@ -6906,6 +6379,7 @@ extern "C" { arg2: usize, arg3: usize, ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] pub fn dtzrqf_( m: *const ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, @@ -6914,6 +6388,7 @@ extern "C" { tau: *mut f64, info: *mut ::std::os::raw::c_int, ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] pub fn dlahrd_( n: *const ::std::os::raw::c_int, k: *const ::std::os::raw::c_int, @@ -6926,6 +6401,7 @@ extern "C" { y: *mut f64, ldy: *const ::std::os::raw::c_int, ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] pub fn dlatzm_( side: *const ::std::os::raw::c_char, m: *const ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs b/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs index c6e757b5..167cb0c7 100644 --- a/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs index c6e757b5..167cb0c7 100644 --- a/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs index e85a4a8f..8e896c06 100644 --- a/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs index 4e8eaa97..931721ae 100644 --- a/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs index 9f30e2f2..deefadd9 100644 --- a/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs index 4e8eaa97..931721ae 100644 --- a/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs index ea52fd70..b7b35556 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs @@ -1,882 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); + #[doc = "Double Precision LINPACK"] pub fn dpbfa_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, @@ -974,6 +105,7 @@ extern "C" { arg5: *mut ::std::os::raw::c_int, arg6: *mut ::std::os::raw::c_int, ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] pub fn dchdc_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs index 85034145..34658fa4 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs index ae545ed1..8caa3ee0 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs @@ -1,27 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); + #[doc = "Double Precision LINPACK"] pub fn dpbfa_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, @@ -119,6 +105,7 @@ extern "C" { arg5: *mut ::std::os::raw::c_int, arg6: *mut ::std::os::raw::c_int, ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] pub fn dchdc_( arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs b/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs index 79ada513..b92d0604 100644 --- a/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs index 79ada513..b92d0604 100644 --- a/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs index 2a4f58dd..a42f9838 100644 --- a/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs index a469182f..509d0a7a 100644 --- a/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs index 3fe01f1b..09bc8c16 100644 --- a/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs index a469182f..509d0a7a 100644 --- a/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs index 4d338d97..9ca40f03 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs index 767753fd..55a196ba 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs index 555b02bf..509068f5 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs b/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs index 21c6acdd..e21f331f 100644 --- a/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs b/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs index 21c6acdd..e21f331f 100644 --- a/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs index 6649dc3b..2d5df377 100644 --- a/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs index 4c022890..71caf42a 100644 --- a/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs index ecb4846b..1c1d7c32 100644 --- a/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs b/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs index ce08c280..e4169bd1 100644 --- a/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs index cf9f82fd..ce5febfe 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs index 7f327ed8..a577edd2 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs index b4690e37..cecf3a5a 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs index 4de24c3f..22c99040 100644 --- a/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs index decf6098..a486851c 100644 --- a/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs index 24587e18..499b2853 100644 --- a/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs index 69a8f0d5..22c99040 100644 --- a/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -69,15 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs index 5299bd71..a486851c 100644 --- a/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -69,15 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs index 3458f810..499b2853 100644 --- a/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -69,15 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs index f733a6ca..9ec75694 100644 --- a/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -77,7 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs index 19c37315..4f6fe901 100644 --- a/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -77,7 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs index 622fa211..635faf5f 100644 --- a/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -77,7 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs b/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs index a6254054..4f6fe901 100644 --- a/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs @@ -1,72 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -77,15 +16,6 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_ParseVector( arg1: SEXP, diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs index bbec893f..74dc2957 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -1,134 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -139,178 +16,7 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs index b72bd2e8..6f12f189 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs index aca3eb04..f7772bf1 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -1,134 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} #[repr(u32)] #[doc = "PARSE_NULL will not be returned by R_ParseVector"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -139,165 +16,7 @@ pub enum ParseStatus { PARSE_ERROR = 3, PARSE_EOF = 4, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_ParseVector( arg1: SEXP, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.4.rs b/src/bindings/bindings-Print-linux-aarch64-R4.4.rs index 2f67b116..7e61637a 100644 --- a/src/bindings/bindings-Print-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Print-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.4.rs b/src/bindings/bindings-Print-linux-x86_64-R4.4.rs index b350b650..175e5cac 100644 --- a/src/bindings/bindings-Print-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Print-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.3.rs b/src/bindings/bindings-Print-macos-aarch64-R4.3.rs index 20fd9d2a..d7c353af 100644 --- a/src/bindings/bindings-Print-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Print-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.4.rs b/src/bindings/bindings-Print-macos-aarch64-R4.4.rs index 1e56c143..81ded200 100644 --- a/src/bindings/bindings-Print-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Print-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs index 32258751..07175c18 100644 --- a/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Print-macos-x86_64-R4.4.rs b/src/bindings/bindings-Print-macos-x86_64-R4.4.rs index abcf8bc8..0745ab7a 100644 --- a/src/bindings/bindings-Print-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Print-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.3.rs b/src/bindings/bindings-Print-windows-x86_64-R4.3.rs index 4fa6b3a6..220cd935 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Print-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub type __gnuc_va_list = __builtin_va_list; diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs index ac15eba9..258f61d9 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub type __gnuc_va_list = __builtin_va_list; diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs index e6c6a451..c822e2a2 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub type __gnuc_va_list = __builtin_va_list; diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs index ee8de634..5e776d99 100644 --- a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs index 1b3246e7..3088af09 100644 --- a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs index 0c8482e5..5fe79511 100644 --- a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs @@ -6,59 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs index 757fa01c..5e776d99 100644 --- a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs @@ -6,68 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs index 10f3b612..3088af09 100644 --- a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs @@ -2,72 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs index 46a92022..5fe79511 100644 --- a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs @@ -6,68 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs index 0a86e328..14f27852 100644 --- a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs index 8caf37af..f7d677f9 100644 --- a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs index cdf40e81..f956e296 100644 --- a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs index 8c1b131d..f7d677f9 100644 --- a/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs @@ -1,81 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs index 4a1eaa39..0894ff33 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,1146 +53,16 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] pub struct Rcomplex { pub __bindgen_anon_1: __BindgenUnionField, pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatRealS( @@ -1221,8 +91,10 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] pub fn Rf_printIntegerVector( arg1: *const ::std::os::raw::c_int, arg2: R_xlen_t, diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs index c5e21d92..4c45cede 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs index 959cc329..37d4e9c0 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,1134 +53,16 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] pub struct Rcomplex { pub __bindgen_anon_1: __BindgenUnionField, pub private_data_c: __BindgenUnionField<__BindgenComplex>, pub bindgen_union_field: [u64; 2usize], } -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); pub fn formatRealS( @@ -1209,8 +91,10 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] pub fn Rf_printIntegerVector( arg1: *const ::std::os::raw::c_int, arg2: R_xlen_t, diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs index 2e232463..b133ee4f 100644 --- a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const QNPF_REDRAW: u32 = 1; pub const QDFLAG_DISPLAY_LIST: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs index 2e232463..b133ee4f 100644 --- a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const QNPF_REDRAW: u32 = 1; pub const QDFLAG_DISPLAY_LIST: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs index 4fde13b4..7c977fc3 100644 --- a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const QNPF_REDRAW: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs index 5a19198b..a311262a 100644 --- a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const QNPF_REDRAW: u32 = 1; pub const QDFLAG_DISPLAY_LIST: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs index 593fc02e..df0ea0ce 100644 --- a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const QNPF_REDRAW: u32 = 1; diff --git a/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs b/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs index 5a19198b..a311262a 100644 --- a/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const QNPF_REDRAW: u32 = 1; pub const QDFLAG_DISPLAY_LIST: u32 = 1; diff --git a/src/bindings/bindings-R-linux-aarch64-R4.3.rs b/src/bindings/bindings-R-linux-aarch64-R4.3.rs index f49bf001..2db3d346 100644 --- a/src/bindings/bindings-R-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-R-linux-aarch64-R4.3.rs @@ -7,7 +7,6 @@ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-linux-aarch64-R4.4.rs b/src/bindings/bindings-R-linux-aarch64-R4.4.rs index b4b0c0fe..88312377 100644 --- a/src/bindings/bindings-R-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-R-linux-aarch64-R4.4.rs @@ -2,12 +2,11 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs index 40c39903..8915f5da 100644 --- a/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs @@ -7,7 +7,6 @@ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-linux-x86_64-R4.3.rs b/src/bindings/bindings-R-linux-x86_64-R4.3.rs index c4f66c5f..2db3d346 100644 --- a/src/bindings/bindings-R-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-R-linux-x86_64-R4.3.rs @@ -7,16 +7,6 @@ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-linux-x86_64-R4.4.rs b/src/bindings/bindings-R-linux-x86_64-R4.4.rs index 1602cbd8..88312377 100644 --- a/src/bindings/bindings-R-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-R-linux-x86_64-R4.4.rs @@ -2,21 +2,11 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs index f90e0986..8915f5da 100644 --- a/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs @@ -7,16 +7,6 @@ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-macos-aarch64-R4.3.rs b/src/bindings/bindings-R-macos-aarch64-R4.3.rs index 6db00897..54e702b0 100644 --- a/src/bindings/bindings-R-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-R-macos-aarch64-R4.3.rs @@ -1,15 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __darwin_va_list = __builtin_va_list; -pub type va_list = __darwin_va_list; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-macos-aarch64-R4.4.rs b/src/bindings/bindings-R-macos-aarch64-R4.4.rs index 6a37d913..020d650f 100644 --- a/src/bindings/bindings-R-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-R-macos-aarch64-R4.4.rs @@ -1,15 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __darwin_va_list = __builtin_va_list; -pub type va_list = __darwin_va_list; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs index df6d23b7..5ea55c52 100644 --- a/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs @@ -1,15 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __darwin_va_list = __builtin_va_list; -pub type va_list = __darwin_va_list; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-macos-x86_64-R4.4.rs b/src/bindings/bindings-R-macos-x86_64-R4.4.rs index 8215de08..020d650f 100644 --- a/src/bindings/bindings-R-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-R-macos-x86_64-R4.4.rs @@ -1,23 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __darwin_va_list = __builtin_va_list; -pub type va_list = __darwin_va_list; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] diff --git a/src/bindings/bindings-R-windows-x86_64-R4.3.rs b/src/bindings/bindings-R-windows-x86_64-R4.3.rs index 5ad6b30a..2f552e51 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-R-windows-x86_64-R4.3.rs @@ -1,283 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const PI: f64 = 3.141592653589793; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); } diff --git a/src/bindings/bindings-R-windows-x86_64-R4.4.rs b/src/bindings/bindings-R-windows-x86_64-R4.4.rs index 6ccc646b..2fb3b785 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; diff --git a/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs index e7f7b758..9ad28830 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs @@ -1,268 +1,15 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const PI: f64 = 3.141592653589793; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); pub fn R_FlushConsole(); #[doc = "always declared, but only usable under Win32 and Aqua"] pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); } diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.4.rs b/src/bindings/bindings-RS-linux-aarch64-R4.4.rs index c5faa979..bccc3c5e 100644 --- a/src/bindings/bindings-RS-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-RS-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.4.rs b/src/bindings/bindings-RS-linux-x86_64-R4.4.rs index c5faa979..bccc3c5e 100644 --- a/src/bindings/bindings-RS-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-RS-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.3.rs b/src/bindings/bindings-RS-macos-aarch64-R4.3.rs index 7d173cc4..52dba8ac 100644 --- a/src/bindings/bindings-RS-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-RS-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.4.rs b/src/bindings/bindings-RS-macos-aarch64-R4.4.rs index d9cd3258..5c256f25 100644 --- a/src/bindings/bindings-RS-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-RS-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs index fe964941..6310d799 100644 --- a/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-RS-macos-x86_64-R4.4.rs b/src/bindings/bindings-RS-macos-x86_64-R4.4.rs index d9cd3258..5c256f25 100644 --- a/src/bindings/bindings-RS-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-RS-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.3.rs b/src/bindings/bindings-RS-windows-x86_64-R4.3.rs index bacc8275..611f96e8 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-RS-windows-x86_64-R4.3.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs index aaa9d4f5..5b7711dd 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs index ad660d1d..28977669 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs b/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs index 79c6060e..14d82240 100644 --- a/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs index 79c6060e..14d82240 100644 --- a/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs index 2b912236..04adde8f 100644 --- a/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[repr(C)] diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs index 1d046eb0..013b08d8 100644 --- a/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs index 5e2aff34..2174dfd2 100644 --- a/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[repr(C)] diff --git a/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs index 1d046eb0..013b08d8 100644 --- a/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs index 995be708..13b73990 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[repr(C)] @@ -96,6 +96,13 @@ pub enum Rboolean { TRUE = 1, } #[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] #[doc = "Startup Actions"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum SA_TYPE { @@ -128,7 +135,53 @@ pub struct structRstart { pub ppsize: usize, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub __bindgen_padding_0: u32, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, } impl structRstart { #[inline] diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs index e444baa7..bd11e0c5 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[repr(C)] diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs index b6837e8c..df3b0b09 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[repr(C)] @@ -96,6 +96,13 @@ pub enum Rboolean { TRUE = 1, } #[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] #[doc = "Startup Actions"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum SA_TYPE { @@ -129,6 +136,53 @@ pub struct structRstart { pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, } impl structRstart { #[inline] diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs index 02a86e44..d3414dc5 100644 --- a/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs index 02a86e44..d3414dc5 100644 --- a/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs index a920d95f..5b53062d 100644 --- a/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs index 37b33345..73e04ae1 100644 --- a/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs index 5c594835..5c5b4a40 100644 --- a/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs index 37b33345..73e04ae1 100644 --- a/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs index 14da545b..d57b4bee 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs index a05dc401..cf3f2697 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs index 1e4c0ca4..5f4b7ae2 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.4.rs b/src/bindings/bindings-Random-linux-aarch64-R4.4.rs index cfa818ac..25afcd78 100644 --- a/src/bindings/bindings-Random-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Random-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.4.rs b/src/bindings/bindings-Random-linux-x86_64-R4.4.rs index cfa818ac..25afcd78 100644 --- a/src/bindings/bindings-Random-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Random-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.3.rs b/src/bindings/bindings-Random-macos-aarch64-R4.3.rs index ebc36cb5..3f94e1b8 100644 --- a/src/bindings/bindings-Random-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Random-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.4.rs b/src/bindings/bindings-Random-macos-aarch64-R4.4.rs index 2e88e400..a2ac6d55 100644 --- a/src/bindings/bindings-Random-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Random-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs index 4246bddc..ca46a02b 100644 --- a/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Random-macos-x86_64-R4.4.rs b/src/bindings/bindings-Random-macos-x86_64-R4.4.rs index 2e88e400..a2ac6d55 100644 --- a/src/bindings/bindings-Random-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Random-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.3.rs b/src/bindings/bindings-Random-windows-x86_64-R4.3.rs index 380d17ca..acbcef3c 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Random-windows-x86_64-R4.3.rs @@ -1,21 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum RNGtype { WICHMANN_HILL = 0, MARSAGLIA_MULTICARRY = 1, diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs index 43417a7b..4f59dcf9 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs index 6f7202a5..63b30a92 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs @@ -1,21 +1,13 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum RNGtype { WICHMANN_HILL = 0, MARSAGLIA_MULTICARRY = 1, diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs index 0e0aa0b7..14ef7095 100644 --- a/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs index 0e0aa0b7..14ef7095 100644 --- a/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs index c9e6f05b..54fb0221 100644 --- a/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs index ddbd5cf8..478f8387 100644 --- a/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs index 7516658a..c3c263ba 100644 --- a/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs index ddbd5cf8..478f8387 100644 --- a/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; pub const IEEE_754: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs index c567d116..c8a2b4c7 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs index 0fca1890..0b870b1d 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs index 1e8af109..8331e50c 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const HAVE_F77_UNDERSCORE: u32 = 1; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs index fa38a27a..55c65317 100644 --- a/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs @@ -8,57 +8,4 @@ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs index 13855d60..9dec3274 100644 --- a/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs @@ -2,63 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs index 37c368d5..c558e305 100644 --- a/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs @@ -8,57 +8,4 @@ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs index fb1f98d2..55c65317 100644 --- a/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs @@ -8,66 +8,4 @@ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs index a07b5eeb..9dec3274 100644 --- a/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs @@ -2,72 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs index dbb7466f..c558e305 100644 --- a/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs @@ -8,66 +8,4 @@ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} pub type s_object = SEXPREC; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs index f0024b57..522e0f6f 100644 --- a/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs index d0281f3b..7472bf24 100644 --- a/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs index 1333c457..bdab50db 100644 --- a/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs index 8cedd04a..7472bf24 100644 --- a/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs @@ -1,81 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; pub type s_object = SEXPREC; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs index e4c29879..7e5b97a6 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs @@ -1,1222 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn qsort4_( - v: *mut f64, - indx: *mut ::std::os::raw::c_int, - ii: *mut ::std::os::raw::c_int, - jj: *mut ::std::os::raw::c_int, - ); - pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn interv_( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - rightmost_closed: *mut Rboolean, - all_inside: *mut Rboolean, - ilo: *mut ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs index 381c5a40..3451dced 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const TRUE: u32 = 1; diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs index 6092959b..93077194 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs @@ -1,1210 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; pub const TRUE: u32 = 1; pub const FALSE: u32 = 0; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} pub type s_object = SEXPREC; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn qsort4_( - v: *mut f64, - indx: *mut ::std::os::raw::c_int, - ii: *mut ::std::os::raw::c_int, - jj: *mut ::std::os::raw::c_int, - ); - pub fn qsort3_(v: *mut f64, ii: *mut ::std::os::raw::c_int, jj: *mut ::std::os::raw::c_int); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn interv_( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - rightmost_closed: *mut Rboolean, - all_inside: *mut Rboolean, - ilo: *mut ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs index 0512adb7..5579af6c 100644 --- a/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs index 0512adb7..5579af6c 100644 --- a/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs index ca3c4dec..8ed93f49 100644 --- a/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs index fec5a60e..12d49006 100644 --- a/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs index a3ea740d..d8319c0c 100644 --- a/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs index fec5a60e..12d49006 100644 --- a/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs index 46c58b86..63c75a4f 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs index 6bf0a990..c4bd74b1 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs index a0b87ead..cae7027d 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const SINGLESXP: u32 = 302; diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs index 93bc7b06..ac13605c 100644 --- a/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs index 93bc7b06..ac13605c 100644 --- a/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs index 80fca467..93401f7e 100644 --- a/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs index ed1ac0e5..0726d064 100644 --- a/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs index 70c0e9a8..69de97c1 100644 --- a/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs index ed1ac0e5..0726d064 100644 --- a/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs index 6b4041f1..1b6b6c10 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs index b27f609c..cd355de0 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs index f3f4c152..550c043e 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs b/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs index 0c8d4229..37f627f0 100644 --- a/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs index 0c8d4229..37f627f0 100644 --- a/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs index db2adbd9..97979f06 100644 --- a/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs index 95dd67ed..dc162d3d 100644 --- a/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs index 0dd1350d..ad0c967c 100644 --- a/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs index 95dd67ed..dc162d3d 100644 --- a/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs index 2f7ae1d1..dd9101ba 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs index a2ceace6..eebba16c 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs index c8c2ae04..056c1235 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs index 5340f821..12dc2443 100644 --- a/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs index 5340f821..12dc2443 100644 --- a/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs index 4309b0cc..fad3cc9d 100644 --- a/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs index f7b9c41e..78d78da4 100644 --- a/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs index 516c2263..b3888913 100644 --- a/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs index f7b9c41e..78d78da4 100644 --- a/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs index 447e0288..460e03ba 100644 --- a/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs @@ -23,7 +23,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs index 09c0d569..9a9ec0fa 100644 --- a/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; @@ -24,7 +24,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; @@ -502,6 +501,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -949,7 +949,7 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_GROWABLE_BIT(x: SEXP); diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs index ed928f16..b6f05e07 100644 --- a/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs @@ -24,7 +24,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; @@ -270,6 +269,8 @@ extern "C" { pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; #[doc = "S4 object testing"] pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; #[doc = "Vector Access Functions"] @@ -351,6 +352,10 @@ extern "C" { pub fn SET_FORMALS(x: SEXP, v: SEXP); pub fn SET_BODY(x: SEXP, v: SEXP); pub fn SET_CLOENV(x: SEXP, v: SEXP); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; pub fn SYMVALUE(x: SEXP) -> SEXP; @@ -361,6 +366,7 @@ extern "C" { pub fn ENCLOS(x: SEXP) -> SEXP; pub fn HASHTAB(x: SEXP) -> SEXP; pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; #[doc = "Promise Access Functions"] pub fn PRCODE(x: SEXP) -> SEXP; pub fn PRENV(x: SEXP) -> SEXP; @@ -535,6 +541,8 @@ extern "C" { pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -603,6 +611,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs index ff08ea58..460e03ba 100644 --- a/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs @@ -23,7 +23,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; @@ -245,15 +244,6 @@ pub enum _bindgen_ty_2 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs index f883c422..9a9ec0fa 100644 --- a/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; @@ -24,7 +24,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; @@ -246,15 +245,6 @@ pub enum _bindgen_ty_2 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] @@ -511,6 +501,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -958,7 +949,7 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_GROWABLE_BIT(x: SEXP); diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs index dfd31742..b6f05e07 100644 --- a/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs @@ -24,7 +24,6 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; pub type __off_t = ::std::os::raw::c_long; pub type __off64_t = ::std::os::raw::c_long; pub type FILE = _IO_FILE; @@ -246,15 +245,6 @@ pub enum _bindgen_ty_2 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] @@ -279,6 +269,8 @@ extern "C" { pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; #[doc = "S4 object testing"] pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; #[doc = "Vector Access Functions"] @@ -360,6 +352,10 @@ extern "C" { pub fn SET_FORMALS(x: SEXP, v: SEXP); pub fn SET_BODY(x: SEXP, v: SEXP); pub fn SET_CLOENV(x: SEXP, v: SEXP); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; pub fn SYMVALUE(x: SEXP) -> SEXP; @@ -370,6 +366,7 @@ extern "C" { pub fn ENCLOS(x: SEXP) -> SEXP; pub fn HASHTAB(x: SEXP) -> SEXP; pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; #[doc = "Promise Access Functions"] pub fn PRCODE(x: SEXP) -> SEXP; pub fn PRENV(x: SEXP) -> SEXP; @@ -544,6 +541,8 @@ extern "C" { pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -612,6 +611,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs index 198a4b02..28ae65e0 100644 --- a/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const R_LEN_T_MAX: u32 = 2147483647; @@ -25,9 +25,7 @@ pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -254,7 +252,6 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs index 1ad78280..6fa4c5f2 100644 --- a/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_LEN_T_MAX: u32 = 2147483647; pub const R_XLEN_T_MAX: u64 = 4503599627370496; @@ -26,9 +26,7 @@ pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -255,7 +253,6 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] @@ -512,6 +509,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -959,7 +957,7 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_GROWABLE_BIT(x: SEXP); diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs index 21acec00..ecbcbec6 100644 --- a/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const R_LEN_T_MAX: u32 = 2147483647; @@ -26,9 +26,7 @@ pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -255,7 +253,6 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] @@ -280,6 +277,8 @@ extern "C" { pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; #[doc = "S4 object testing"] pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; #[doc = "Vector Access Functions"] @@ -361,6 +360,10 @@ extern "C" { pub fn SET_FORMALS(x: SEXP, v: SEXP); pub fn SET_BODY(x: SEXP, v: SEXP); pub fn SET_CLOENV(x: SEXP, v: SEXP); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; pub fn SYMVALUE(x: SEXP) -> SEXP; @@ -371,6 +374,7 @@ extern "C" { pub fn ENCLOS(x: SEXP) -> SEXP; pub fn HASHTAB(x: SEXP) -> SEXP; pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; #[doc = "Promise Access Functions"] pub fn PRCODE(x: SEXP) -> SEXP; pub fn PRENV(x: SEXP) -> SEXP; @@ -545,6 +549,8 @@ extern "C" { pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -613,6 +619,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs index c0ec5eeb..6fa4c5f2 100644 --- a/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const R_LEN_T_MAX: u32 = 2147483647; pub const R_XLEN_T_MAX: u64 = 4503599627370496; @@ -26,9 +26,7 @@ pub const HT_TYPE_ADDRESS: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; pub type fpos_t = __darwin_off_t; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -255,15 +253,6 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] @@ -520,6 +509,7 @@ extern "C" { arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; pub fn Rf_allocS4Object() -> SEXP; pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; @@ -967,7 +957,7 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_GROWABLE_BIT(x: SEXP); diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs index fe54b7d7..970632cf 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,16 +53,7 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; pub const TYPE_BITS: u32 = 5; @@ -80,8 +71,6 @@ pub const IDENT_USE_SRCREF: u32 = 32; pub const IDENT_EXTPTR_AS_REF: u32 = 64; pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -106,47 +95,6 @@ pub struct Rcomplex { } #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -316,178 +264,7 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] pub fn Rf_isNull(s: SEXP) -> Rboolean; diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs index 6abce7ff..0afd0d8e 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs index 7bb402a4..c1e8e350 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -53,16 +53,7 @@ impl ::std::cmp::PartialEq for __BindgenUnionField { } } impl ::std::cmp::Eq for __BindgenUnionField {} -pub const SINGLESXP: u32 = 302; pub const R_LEN_T_MAX: u32 = 2147483647; -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; @@ -81,8 +72,6 @@ pub const IDENT_USE_SRCREF: u32 = 32; pub const IDENT_EXTPTR_AS_REF: u32 = 64; pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(C)] @@ -107,47 +96,6 @@ pub struct Rcomplex { } #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -317,165 +265,7 @@ pub enum _bindgen_ty_1 { pub struct R_hashtab_type { pub cell: SEXP, } -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; #[doc = "Various tests with macro versions in the internal headers"] pub fn Rf_isNull(s: SEXP) -> Rboolean; @@ -499,6 +289,8 @@ extern "C" { pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; #[doc = "S4 object testing"] pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; #[doc = "Vector Access Functions"] @@ -580,6 +372,10 @@ extern "C" { pub fn SET_FORMALS(x: SEXP, v: SEXP); pub fn SET_BODY(x: SEXP, v: SEXP); pub fn SET_CLOENV(x: SEXP, v: SEXP); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; pub fn SYMVALUE(x: SEXP) -> SEXP; @@ -590,6 +386,7 @@ extern "C" { pub fn ENCLOS(x: SEXP) -> SEXP; pub fn HASHTAB(x: SEXP) -> SEXP; pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; #[doc = "Promise Access Functions"] pub fn PRCODE(x: SEXP) -> SEXP; pub fn PRENV(x: SEXP) -> SEXP; @@ -764,6 +561,8 @@ extern "C" { pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -832,6 +631,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs index 77e70ab0..b7758edc 100644 --- a/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs @@ -2,10 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; pub const HAVE_EXPM1: u32 = 1; pub const HAVE_HYPOT: u32 = 1; pub const HAVE_LOG1P: u32 = 1; diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs index 77e70ab0..b7758edc 100644 --- a/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs @@ -2,10 +2,10 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; pub const HAVE_EXPM1: u32 = 1; pub const HAVE_HYPOT: u32 = 1; pub const HAVE_LOG1P: u32 = 1; diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs index e04237bf..3921cb81 100644 --- a/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs index fc66400f..ca862e22 100644 --- a/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs @@ -1,11 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; pub const HAVE_EXPM1: u32 = 1; pub const HAVE_HYPOT: u32 = 1; pub const HAVE_LOG1P: u32 = 1; diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs index a9b29f45..3d2d6296 100644 --- a/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; diff --git a/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs index fc66400f..ca862e22 100644 --- a/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs @@ -1,11 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; pub const HAVE_EXPM1: u32 = 1; pub const HAVE_HYPOT: u32 = 1; pub const HAVE_LOG1P: u32 = 1; diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs index 06315778..a6e41ef9 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; @@ -21,14 +21,6 @@ pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { #[doc = "R's versions with !R_FINITE checks"] pub fn R_pow(x: f64, y: f64) -> f64; @@ -38,6 +30,7 @@ extern "C" { pub fn unif_rand() -> f64; pub fn R_unif_index(arg1: f64) -> f64; pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnorm5( arg1: f64, @@ -61,6 +54,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ); + #[doc = "Uniform Distribution"] pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_punif( arg1: f64, @@ -77,6 +71,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pgamma( arg1: f64, @@ -97,9 +92,11 @@ extern "C" { pub fn Rf_log1pexp(arg1: f64) -> f64; pub fn Rf_log1mexp(arg1: f64) -> f64; pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbeta( arg1: f64, @@ -116,6 +113,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plnorm( arg1: f64, @@ -132,6 +130,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pchisq( arg1: f64, @@ -146,6 +145,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnchisq( arg1: f64, @@ -162,6 +162,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pf( arg1: f64, @@ -178,6 +179,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pt( arg1: f64, @@ -192,6 +194,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbinom( @@ -209,12 +212,14 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] pub fn Rf_rmultinom( arg1: ::std::os::raw::c_int, arg2: *mut f64, arg3: ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ); + #[doc = "Cauchy Distribution"] pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pcauchy( arg1: f64, @@ -231,6 +236,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pexp( arg1: f64, @@ -245,6 +251,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pgeom( arg1: f64, @@ -259,6 +266,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] pub fn Rf_dhyper( arg1: f64, arg2: f64, @@ -283,6 +291,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnbinom( arg1: f64, @@ -315,6 +324,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_ppois( @@ -330,6 +340,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pweibull( arg1: f64, @@ -346,6 +357,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plogis( arg1: f64, @@ -362,6 +374,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] pub fn Rf_dnbeta( arg1: f64, arg2: f64, @@ -386,6 +399,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; pub fn Rf_pnf( arg1: f64, @@ -403,6 +417,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Non-central Student t Distribution"] pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnt( arg1: f64, @@ -418,6 +433,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ) -> f64; + #[doc = "Studentized Range Distribution"] pub fn Rf_ptukey( arg1: f64, arg2: f64, @@ -434,6 +450,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pwilcox( arg1: f64, @@ -451,6 +468,7 @@ extern "C" { ) -> f64; pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_psignrank( arg1: f64, @@ -466,6 +484,7 @@ extern "C" { ) -> f64; pub fn Rf_rsignrank(arg1: f64) -> f64; pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] pub fn Rf_gammafn(arg1: f64) -> f64; pub fn Rf_lgammafn(arg1: f64) -> f64; pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; @@ -487,6 +506,7 @@ extern "C" { pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; @@ -495,6 +515,7 @@ extern "C" { pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] pub fn Rf_imax2( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs index 9b523c73..7c5450ed 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs index 3e34c5ab..d8affb65 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; @@ -21,14 +21,6 @@ pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { #[doc = "R's versions with !R_FINITE checks"] pub fn R_pow(x: f64, y: f64) -> f64; @@ -38,6 +30,7 @@ extern "C" { pub fn unif_rand() -> f64; pub fn R_unif_index(arg1: f64) -> f64; pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnorm5( arg1: f64, @@ -61,6 +54,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ); + #[doc = "Uniform Distribution"] pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_punif( arg1: f64, @@ -77,6 +71,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pgamma( arg1: f64, @@ -98,9 +93,11 @@ extern "C" { pub fn Rf_log1mexp(arg1: f64) -> f64; pub fn Rf_lgamma1p(arg1: f64) -> f64; pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbeta( arg1: f64, @@ -117,6 +114,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plnorm( arg1: f64, @@ -133,6 +131,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pchisq( arg1: f64, @@ -147,6 +146,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnchisq( arg1: f64, @@ -163,6 +163,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pf( arg1: f64, @@ -179,6 +180,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pt( arg1: f64, @@ -193,6 +195,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pbinom( @@ -210,12 +213,14 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] pub fn Rf_rmultinom( arg1: ::std::os::raw::c_int, arg2: *mut f64, arg3: ::std::os::raw::c_int, arg4: *mut ::std::os::raw::c_int, ); + #[doc = "Cauchy Distribution"] pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pcauchy( arg1: f64, @@ -232,6 +237,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pexp( arg1: f64, @@ -246,6 +252,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_pgeom( arg1: f64, @@ -260,6 +267,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] pub fn Rf_dhyper( arg1: f64, arg2: f64, @@ -284,6 +292,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnbinom( arg1: f64, @@ -316,6 +325,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_ppois( @@ -331,6 +341,7 @@ extern "C" { arg4: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pweibull( arg1: f64, @@ -347,6 +358,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_plogis( arg1: f64, @@ -363,6 +375,7 @@ extern "C" { arg5: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] pub fn Rf_dnbeta( arg1: f64, arg2: f64, @@ -387,6 +400,7 @@ extern "C" { arg6: ::std::os::raw::c_int, ) -> f64; pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; pub fn Rf_pnf( arg1: f64, @@ -404,6 +418,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Non-central Student t Distribution"] pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pnt( arg1: f64, @@ -419,6 +434,7 @@ extern "C" { arg4: ::std::os::raw::c_int, arg5: ::std::os::raw::c_int, ) -> f64; + #[doc = "Studentized Range Distribution"] pub fn Rf_ptukey( arg1: f64, arg2: f64, @@ -435,6 +451,7 @@ extern "C" { arg5: ::std::os::raw::c_int, arg6: ::std::os::raw::c_int, ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; pub fn Rf_pwilcox( arg1: f64, @@ -452,6 +469,7 @@ extern "C" { ) -> f64; pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; pub fn Rf_psignrank( arg1: f64, @@ -467,6 +485,7 @@ extern "C" { ) -> f64; pub fn Rf_rsignrank(arg1: f64) -> f64; pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] pub fn Rf_gammafn(arg1: f64) -> f64; pub fn Rf_lgammafn(arg1: f64) -> f64; pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; @@ -488,6 +507,7 @@ extern "C" { pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; @@ -496,6 +516,7 @@ extern "C" { pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] pub fn Rf_imax2( arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs b/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs index 2e23834c..c4982ae0 100644 --- a/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs @@ -2,16 +2,16 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; pub const R_STATUS: &[u8; 1] = b"\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs index 22468e22..d2dcecd5 100644 --- a/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs @@ -10,8 +10,8 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"07\0"; -pub const R_SVN_REVISION: u32 = 86704; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs index 2e23834c..c4982ae0 100644 --- a/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs @@ -2,16 +2,16 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; pub const R_STATUS: &[u8; 1] = b"\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs index 22468e22..d2dcecd5 100644 --- a/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs @@ -10,8 +10,8 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"07\0"; -pub const R_SVN_REVISION: u32 = 86704; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs index d002045d..d3c0c495 100644 --- a/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const R_VERSION: u32 = 262915; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs index a58b8ba6..1e721ee2 100644 --- a/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs @@ -1,17 +1,17 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; pub const R_STATUS: &[u8; 1] = b"\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs index 47274f50..8f193bb9 100644 --- a/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const R_VERSION: u32 = 263424; @@ -10,8 +10,8 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86709; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs index a58b8ba6..1e721ee2 100644 --- a/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs @@ -1,17 +1,17 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.0\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; pub const R_STATUS: &[u8; 1] = b"\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"04\0"; -pub const R_DAY: &[u8; 3] = b"24\0"; -pub const R_SVN_REVISION: u32 = 86474; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs index 25d25679..46aeb044 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const R_VERSION: u32 = 262915; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs index 9312161e..9646ccc6 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const R_VERSION: u32 = 263169; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs index d9ed35f0..7cd4c74b 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const R_VERSION: u32 = 263424; @@ -10,8 +10,8 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86709; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs b/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs index 7e3f55d7..0f9fe519 100644 --- a/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; @@ -51,7 +51,7 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -68,7 +68,7 @@ extern "C" { pub fn R_CheckUserInterrupt(); pub fn R_CheckStack(); pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] + #[doc = "../../appl/interv.c: first also in Applic.h"] pub fn findInterval( xt: *mut f64, n: ::std::os::raw::c_int, @@ -88,6 +88,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] pub fn find_interv_vec( xt: *mut f64, n: *mut ::std::os::raw::c_int, @@ -97,7 +98,7 @@ extern "C" { all_inside: *mut ::std::os::raw::c_int, indx: *mut ::std::os::raw::c_int, ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] + #[doc = "../../appl/maxcol.c"] pub fn R_max_col( matrix: *mut f64, nr: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs b/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs index 7e3f55d7..0f9fe519 100644 --- a/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; @@ -51,7 +51,7 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -68,7 +68,7 @@ extern "C" { pub fn R_CheckUserInterrupt(); pub fn R_CheckStack(); pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] + #[doc = "../../appl/interv.c: first also in Applic.h"] pub fn findInterval( xt: *mut f64, n: ::std::os::raw::c_int, @@ -88,6 +88,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] pub fn find_interv_vec( xt: *mut f64, n: *mut ::std::os::raw::c_int, @@ -97,7 +98,7 @@ extern "C" { all_inside: *mut ::std::os::raw::c_int, indx: *mut ::std::os::raw::c_int, ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] + #[doc = "../../appl/maxcol.c"] pub fn R_max_col( matrix: *mut f64, nr: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs index 082c9fa8..3f669cd3 100644 --- a/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs index 28be84bb..dfde9a28 100644 --- a/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; @@ -45,13 +45,14 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] pub fn Rf_setIVector( arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -68,7 +69,7 @@ extern "C" { pub fn R_CheckUserInterrupt(); pub fn R_CheckStack(); pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] + #[doc = "../../appl/interv.c: first also in Applic.h"] pub fn findInterval( xt: *mut f64, n: ::std::os::raw::c_int, @@ -88,6 +89,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] pub fn find_interv_vec( xt: *mut f64, n: *mut ::std::os::raw::c_int, @@ -97,7 +99,7 @@ extern "C" { all_inside: *mut ::std::os::raw::c_int, indx: *mut ::std::os::raw::c_int, ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] + #[doc = "../../appl/maxcol.c"] pub fn R_max_col( matrix: *mut f64, nr: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs index cdc426c1..0ba510a4 100644 --- a/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs b/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs index 28be84bb..dfde9a28 100644 --- a/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; @@ -45,13 +45,14 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] pub fn Rf_setIVector( arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -68,7 +69,7 @@ extern "C" { pub fn R_CheckUserInterrupt(); pub fn R_CheckStack(); pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] + #[doc = "../../appl/interv.c: first also in Applic.h"] pub fn findInterval( xt: *mut f64, n: ::std::os::raw::c_int, @@ -88,6 +89,7 @@ extern "C" { ilo: ::std::os::raw::c_int, mflag: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] pub fn find_interv_vec( xt: *mut f64, n: *mut ::std::os::raw::c_int, @@ -97,7 +99,7 @@ extern "C" { all_inside: *mut ::std::os::raw::c_int, indx: *mut ::std::os::raw::c_int, ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] + #[doc = "../../appl/maxcol.c"] pub fn R_max_col( matrix: *mut f64, nr: *mut ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs index 04aac99b..7b84d0d7 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -108,6 +108,9 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; pub fn Rf_setIVector( arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs index 4876ac78..5b870a74 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs index 45d92323..6e275342 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] @@ -108,6 +108,10 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs b/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs index 8d43937d..1b070375 100644 --- a/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs index 8d43937d..1b070375 100644 --- a/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs index f2508481..90a6f487 100644 --- a/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs index 7cf1c0ce..8383afed 100644 --- a/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs index e21502a2..27468d6f 100644 --- a/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs index 7cf1c0ce..8383afed 100644 --- a/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs index c567d116..ddd2233f 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs @@ -1,16 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs index e3635299..169a1c83 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs index 1e8af109..b2b22575 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs @@ -1,16 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs b/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs index a07f6fe6..42d3a421 100644 --- a/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const XActivity: u32 = 1; pub const StdinActivity: u32 = 2; diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs b/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs index a07f6fe6..42d3a421 100644 --- a/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const XActivity: u32 = 1; pub const StdinActivity: u32 = 2; diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs index 9c68d2c2..d701b4f2 100644 --- a/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const XActivity: u32 = 1; diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs index d0cce6ee..e68b55ee 100644 --- a/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const XActivity: u32 = 1; pub const StdinActivity: u32 = 2; diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs index 4b0203ef..67fd33ab 100644 --- a/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const XActivity: u32 = 1; diff --git a/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs b/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs index d0cce6ee..e68b55ee 100644 --- a/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const XActivity: u32 = 1; pub const StdinActivity: u32 = 2; diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs index d7916ab5..4bcf1a47 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const DblClick: u32 = 16; @@ -23,8 +23,62 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -37,6 +91,7 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { + #[doc = "renamed functions"] pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); @@ -49,11 +104,15 @@ extern "C" { pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] pub fn GA_addstatusbar() -> ::std::os::raw::c_int; pub fn GA_delstatusbar() -> ::std::os::raw::c_int; pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); pub fn GA_askchangedir(); pub fn GA_askcdstring( @@ -93,11 +152,13 @@ extern "C" { title: *const ::std::os::raw::c_char, default_name: *const ::std::os::raw::c_char, ) -> *mut wchar_t; + #[doc = "rgb.c"] pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] pub fn GA_copytoclipboard(src: drawing); pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn GA_getstringfromclipboard( @@ -105,6 +166,7 @@ extern "C" { n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] pub fn GA_bitmaptoimage(bm: bitmap) -> image; pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; pub fn GA_nextpage(p: printer); @@ -264,10 +326,13 @@ extern "C" { s: *const ::std::os::raw::c_char, enc: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "pixels"] pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; @@ -314,7 +379,9 @@ extern "C" { pub fn GA_finddialog(t: textbox); pub fn GA_replacedialog(t: textbox); pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] pub fn GA_toolbar_show(); pub fn GA_toolbar_hide(); } diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs index 392fd843..f95047a7 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const DblClick: u32 = 16; diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs index 86dfdfab..f6f37219 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const DblClick: u32 = 16; @@ -23,8 +23,63 @@ pub const CONTROLSB: u32 = 2; pub type wchar_t = ::std::os::raw::c_ushort; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; #[doc = "gmenus.c"] #[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct MenuItem { pub nm: *mut ::std::os::raw::c_char, pub fn_: menufn, @@ -37,6 +92,7 @@ pub type printer = objptr; #[doc = "metafile.c"] pub type metafile = objptr; extern "C" { + #[doc = "renamed functions"] pub fn GA_gamainloop(); pub fn GA_gabeep(); pub fn GA_appcleanup(); @@ -49,11 +105,15 @@ extern "C" { pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] pub fn GA_addstatusbar() -> ::std::os::raw::c_int; pub fn GA_delstatusbar() -> ::std::os::raw::c_int; pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); pub fn GA_askchangedir(); pub fn GA_askcdstring( @@ -93,11 +153,13 @@ extern "C" { title: *const ::std::os::raw::c_char, default_name: *const ::std::os::raw::c_char, ) -> *mut wchar_t; + #[doc = "rgb.c"] pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] pub fn GA_copytoclipboard(src: drawing); pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn GA_getstringfromclipboard( @@ -105,6 +167,7 @@ extern "C" { n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] pub fn GA_bitmaptoimage(bm: bitmap) -> image; pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; pub fn GA_nextpage(p: printer); @@ -264,10 +327,13 @@ extern "C" { s: *const ::std::os::raw::c_char, enc: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; + #[doc = "pixels"] pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; @@ -314,7 +380,9 @@ extern "C" { pub fn GA_finddialog(t: textbox); pub fn GA_replacedialog(t: textbox); pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] pub fn GA_toolbar_show(); pub fn GA_toolbar_hide(); } diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs index a23b8c95..ea932877 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const _GRAPHAPP_H: u32 = 240; @@ -226,6 +226,7 @@ pub type dropfn = pub type imfn = ::std::option::Option; extern "C" { + #[doc = "General functions."] pub fn GA_initapp( argc: ::std::os::raw::c_int, argv: *mut *mut ::std::os::raw::c_char, @@ -237,6 +238,7 @@ extern "C" { pub fn GA_doevent() -> ::std::os::raw::c_int; pub fn mainloop(); pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; pub fn GA_newrect( left: ::std::os::raw::c_int, @@ -270,10 +272,13 @@ extern "C" { pub fn GA_clipr(r1: rect, r2: rect) -> rect; pub fn GA_rcanon(r: rect) -> rect; pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] pub fn GA_addto(dest: control); pub fn GA_drawto(dest: drawing); pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); pub fn GA_scrollrect(dp: point, sr: rect); pub fn GA_copyrect(src: drawing, dp: point, sr: rect); @@ -281,6 +286,7 @@ extern "C" { pub fn GA_invertrect(r: rect); pub fn GA_getpixel(p: point) -> rgb; pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] pub fn GA_moveto(p: point); pub fn GA_lineto(p: point); pub fn GA_drawpoint(p: point); @@ -303,6 +309,7 @@ extern "C" { pub fn GA_fillroundrect(r: rect); pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] pub fn GA_newfont( name: *const ::std::os::raw::c_char, style: ::std::os::raw::c_int, @@ -327,6 +334,7 @@ extern "C" { text: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] pub fn GA_currentdrawing() -> drawing; pub fn GA_currentrgb() -> rgb; pub fn GA_currentmode() -> ::std::os::raw::c_int; @@ -334,7 +342,9 @@ extern "C" { pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; pub fn GA_currentfont() -> font; pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] pub fn GA_newbitmap( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -351,6 +361,7 @@ extern "C" { pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] pub fn GA_newimage( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -377,6 +388,7 @@ extern "C" { pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); pub fn GA_drawdarker(img: image, dr: rect, sr: rect); pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] pub fn GA_newwindow( name: *const ::std::os::raw::c_char, r: rect, @@ -385,11 +397,13 @@ extern "C" { pub fn GA_show(w: window); pub fn GA_hide(w: window); pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objrect(obj: objptr) -> rect; pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] pub fn GA_setaction(c: control, fn_: actionfn); pub fn GA_sethit(c: control, fn_: intfn); pub fn GA_setdel(c: control, fn_: actionfn); @@ -406,6 +420,7 @@ extern "C" { pub fn GA_setdrop(c: control, fn_: dropfn); pub fn GA_setonfocus(c: control, fn_: actionfn); pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] pub fn GA_clear(c: control); pub fn GA_draw(c: control); pub fn GA_redraw(c: control); @@ -422,6 +437,7 @@ extern "C" { pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; pub fn GA_flashcontrol(c: control); pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; pub fn GA_settextfont(c: control, f: font); @@ -435,6 +451,7 @@ extern "C" { pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; pub fn GA_newpicture(img: image, r: rect) -> drawing; @@ -519,6 +536,7 @@ extern "C" { key: ::std::os::raw::c_int, fn_: menufn, ) -> menuitem; + #[doc = "Text editing functions."] pub fn GA_undotext(t: textbox); pub fn GA_cuttext(t: textbox); pub fn GA_copytext(t: textbox); @@ -558,11 +576,13 @@ extern "C" { default_name: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char; pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_delay(millisec: ::std::os::raw::c_uint); pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] pub fn GA_newcursor(hotspot: point, img: image) -> cursor; pub fn GA_createcursor( offset: point, @@ -571,10 +591,12 @@ extern "C" { ) -> cursor; pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] pub fn GA_copydrawstate() -> drawstate; pub fn GA_setdrawstate(saved_state: drawstate); pub fn GA_restoredrawstate(saved_state: drawstate); pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] pub fn GA_setcaret( c: control, x: ::std::os::raw::c_int, @@ -583,16 +605,28 @@ extern "C" { height: ::std::os::raw::c_int, ); pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] pub static mut GA_Courier: font; } diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs index 5c3e46c5..1ce6f32b 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const _GRAPHAPP_H: u32 = 240; diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs index 6a36674b..30954952 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const _GRAPHAPP_H: u32 = 240; @@ -227,6 +227,7 @@ pub type dropfn = pub type imfn = ::std::option::Option; extern "C" { + #[doc = "General functions."] pub fn GA_initapp( argc: ::std::os::raw::c_int, argv: *mut *mut ::std::os::raw::c_char, @@ -238,6 +239,7 @@ extern "C" { pub fn GA_doevent() -> ::std::os::raw::c_int; pub fn mainloop(); pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; pub fn GA_newrect( left: ::std::os::raw::c_int, @@ -271,10 +273,13 @@ extern "C" { pub fn GA_clipr(r1: rect, r2: rect) -> rect; pub fn GA_rcanon(r: rect) -> rect; pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] pub fn GA_addto(dest: control); pub fn GA_drawto(dest: drawing); pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); pub fn GA_scrollrect(dp: point, sr: rect); pub fn GA_copyrect(src: drawing, dp: point, sr: rect); @@ -282,6 +287,7 @@ extern "C" { pub fn GA_invertrect(r: rect); pub fn GA_getpixel(p: point) -> rgb; pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] pub fn GA_moveto(p: point); pub fn GA_lineto(p: point); pub fn GA_drawpoint(p: point); @@ -304,6 +310,7 @@ extern "C" { pub fn GA_fillroundrect(r: rect); pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] pub fn GA_newfont( name: *const ::std::os::raw::c_char, style: ::std::os::raw::c_int, @@ -328,6 +335,7 @@ extern "C" { text: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] pub fn GA_currentdrawing() -> drawing; pub fn GA_currentrgb() -> rgb; pub fn GA_currentmode() -> ::std::os::raw::c_int; @@ -335,7 +343,9 @@ extern "C" { pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; pub fn GA_currentfont() -> font; pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] pub fn GA_newbitmap( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -352,6 +362,7 @@ extern "C" { pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] pub fn GA_newimage( width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, @@ -378,6 +389,7 @@ extern "C" { pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); pub fn GA_drawdarker(img: image, dr: rect, sr: rect); pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] pub fn GA_newwindow( name: *const ::std::os::raw::c_char, r: rect, @@ -386,11 +398,13 @@ extern "C" { pub fn GA_show(w: window); pub fn GA_hide(w: window); pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objrect(obj: objptr) -> rect; pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] pub fn GA_setaction(c: control, fn_: actionfn); pub fn GA_sethit(c: control, fn_: intfn); pub fn GA_setdel(c: control, fn_: actionfn); @@ -407,6 +421,7 @@ extern "C" { pub fn GA_setdrop(c: control, fn_: dropfn); pub fn GA_setonfocus(c: control, fn_: actionfn); pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] pub fn GA_clear(c: control); pub fn GA_draw(c: control); pub fn GA_redraw(c: control); @@ -423,6 +438,7 @@ extern "C" { pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; pub fn GA_flashcontrol(c: control); pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; pub fn GA_settextfont(c: control, f: font); @@ -436,6 +452,7 @@ extern "C" { pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; pub fn GA_newpicture(img: image, r: rect) -> drawing; @@ -520,6 +537,7 @@ extern "C" { key: ::std::os::raw::c_int, fn_: menufn, ) -> menuitem; + #[doc = "Text editing functions."] pub fn GA_undotext(t: textbox); pub fn GA_cuttext(t: textbox); pub fn GA_copytext(t: textbox); @@ -560,11 +578,13 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; pub fn GA_delay(millisec: ::std::os::raw::c_uint); pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] pub fn GA_newcursor(hotspot: point, img: image) -> cursor; pub fn GA_createcursor( offset: point, @@ -573,10 +593,12 @@ extern "C" { ) -> cursor; pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] pub fn GA_copydrawstate() -> drawstate; pub fn GA_setdrawstate(saved_state: drawstate); pub fn GA_restoredrawstate(saved_state: drawstate); pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] pub fn GA_setcaret( c: control, x: ::std::os::raw::c_int, @@ -585,16 +607,28 @@ extern "C" { height: ::std::os::raw::c_int, ); pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] pub static mut GA_Courier: font; } diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs index 6ed8dea4..6812df3a 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs index 017d8b5b..dac27271 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs index 49432d88..1de3814d 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs b/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs index 8d43937d..1b070375 100644 --- a/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs b/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs index 8d43937d..1b070375 100644 --- a/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs index f2508481..90a6f487 100644 --- a/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs index 7cf1c0ce..8383afed 100644 --- a/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs index e21502a2..27468d6f 100644 --- a/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs b/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs index 7cf1c0ce..8383afed 100644 --- a/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs index 175d6655..ddd2233f 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs index e3635299..169a1c83 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs index d442c682..b2b22575 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs index e5c94fa0..df711a6c 100644 --- a/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs index ac43fef1..447057b0 100644 --- a/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const _LIBINTL_H: u32 = 1; pub const __USE_GNU_GETTEXT: u32 = 1; diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs index fa7117e4..916ea54c 100644 --- a/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs b/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs index ac43fef1..447057b0 100644 --- a/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ pub const _LIBINTL_H: u32 = 1; pub const __USE_GNU_GETTEXT: u32 = 1; diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs index 701a2ffa..9229cd48 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs index 3319192d..2fb41fca 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs index 8edf314f..26b15369 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ pub const _LIBINTL_H: u32 = 1; diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs b/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs index 1ea1f4c3..48535e71 100644 --- a/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs index 1ea1f4c3..48535e71 100644 --- a/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs index d97581a5..5bb1de40 100644 --- a/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs index 7868ec56..b23c2e11 100644 --- a/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs index d4578056..5145f4fb 100644 --- a/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs index 7868ec56..b23c2e11 100644 --- a/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs @@ -1,8 +1,8 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs index 4a071d6f..e828f559 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs index 91057487..9337baa9 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs index 6a479b45..d5be2b1b 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,9 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs index df8fb01b..103a1820 100644 --- a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs @@ -6,56 +6,3 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs index 48804ef2..1b070375 100644 --- a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs @@ -2,60 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs index cd3ded86..eec336fe 100644 --- a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs @@ -6,56 +6,3 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = [u64; 4usize]; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs index df59a7d0..103a1820 100644 --- a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs @@ -6,65 +6,3 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs index 514a5af6..1b070375 100644 --- a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs @@ -2,69 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs index 1f45e6c8..eec336fe 100644 --- a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs @@ -6,65 +6,3 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type va_list = __builtin_va_list; -pub type __off_t = ::std::os::raw::c_long; -pub type __off64_t = ::std::os::raw::c_long; -pub type FILE = _IO_FILE; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_marker { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_codecvt { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_wide_data { - _unused: [u8; 0], -} -pub type _IO_lock_t = ::std::os::raw::c_void; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _IO_FILE { - pub _flags: ::std::os::raw::c_int, - pub _IO_read_ptr: *mut ::std::os::raw::c_char, - pub _IO_read_end: *mut ::std::os::raw::c_char, - pub _IO_read_base: *mut ::std::os::raw::c_char, - pub _IO_write_base: *mut ::std::os::raw::c_char, - pub _IO_write_ptr: *mut ::std::os::raw::c_char, - pub _IO_write_end: *mut ::std::os::raw::c_char, - pub _IO_buf_base: *mut ::std::os::raw::c_char, - pub _IO_buf_end: *mut ::std::os::raw::c_char, - pub _IO_save_base: *mut ::std::os::raw::c_char, - pub _IO_backup_base: *mut ::std::os::raw::c_char, - pub _IO_save_end: *mut ::std::os::raw::c_char, - pub _markers: *mut _IO_marker, - pub _chain: *mut _IO_FILE, - pub _fileno: ::std::os::raw::c_int, - pub _flags2: ::std::os::raw::c_int, - pub _old_offset: __off_t, - pub _cur_column: ::std::os::raw::c_ushort, - pub _vtable_offset: ::std::os::raw::c_schar, - pub _shortbuf: [::std::os::raw::c_char; 1usize], - pub _lock: *mut _IO_lock_t, - pub _offset: __off64_t, - pub _codecvt: *mut _IO_codecvt, - pub _wide_data: *mut _IO_wide_data, - pub _freeres_list: *mut _IO_FILE, - pub _freeres_buf: *mut ::std::os::raw::c_void, - pub __pad5: usize, - pub _mode: ::std::os::raw::c_int, - pub _unused2: [::std::os::raw::c_char; 20usize], -} -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs index 258cc410..0e5ee3bd 100644 --- a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.3.3 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn S_Rf_divset( alg: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs index 0d58cf5d..85049f26 100644 --- a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn S_Rf_divset( alg: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs index 229e612a..495e039f 100644 --- a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs @@ -1,73 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ /* r version: 4.5.0-devel */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { pub fn S_Rf_divset( alg: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs index 1c66aea0..85049f26 100644 --- a/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs @@ -1,81 +1,11 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -pub type __int64_t = ::std::os::raw::c_longlong; -pub type __darwin_va_list = __builtin_va_list; -pub type __darwin_off_t = __int64_t; -pub type va_list = __darwin_va_list; -pub type fpos_t = __darwin_off_t; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sbuf { - pub _base: *mut ::std::os::raw::c_uchar, - pub _size: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILEX { - _unused: [u8; 0], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __sFILE { - pub _p: *mut ::std::os::raw::c_uchar, - pub _r: ::std::os::raw::c_int, - pub _w: ::std::os::raw::c_int, - pub _flags: ::std::os::raw::c_short, - pub _file: ::std::os::raw::c_short, - pub _bf: __sbuf, - pub _lbfsize: ::std::os::raw::c_int, - pub _cookie: *mut ::std::os::raw::c_void, - pub _close: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, - >, - pub _read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *mut ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: fpos_t, - arg3: ::std::os::raw::c_int, - ) -> fpos_t, - >, - pub _write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub _ub: __sbuf, - pub _extra: *mut __sFILEX, - pub _ur: ::std::os::raw::c_int, - pub _ubuf: [::std::os::raw::c_uchar; 3usize], - pub _nbuf: [::std::os::raw::c_uchar; 1usize], - pub _lb: __sbuf, - pub _blksize: ::std::os::raw::c_int, - pub _offset: fpos_t, -} -pub type FILE = __sFILE; -pub type __builtin_va_list = [__va_list_tag; 1usize]; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct __va_list_tag { - pub gp_offset: ::std::os::raw::c_uint, - pub fp_offset: ::std::os::raw::c_uint, - pub overflow_arg_area: *mut ::std::os::raw::c_void, - pub reg_save_area: *mut ::std::os::raw::c_void, -} extern "C" { pub fn S_Rf_divset( alg: ::std::os::raw::c_int, diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs index 2f90855b..5bc8c7cc 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs @@ -1,1261 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn S_Rf_divset( alg: ::std::os::raw::c_int, iv: *mut ::std::os::raw::c_int, @@ -1263,31 +14,31 @@ extern "C" { lv: ::std::os::raw::c_int, v: *mut f64, ); - pub fn S_nlsb_iterate( + pub fn S_nlminb_iterate( b: *mut f64, d: *mut f64, - dr: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, v: *mut f64, x: *mut f64, ); - pub fn S_nlminb_iterate( + pub fn S_nlsb_iterate( b: *mut f64, d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, + dr: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, v: *mut f64, x: *mut f64, ); diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs index 9bd54f20..44244a03 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.8 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs index b16433d4..457ca57d 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs +++ b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs @@ -1,1249 +1,12 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 16.0.6 */ +/* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -pub const SINGLESXP: u32 = 302; -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); pub fn S_Rf_divset( alg: ::std::os::raw::c_int, iv: *mut ::std::os::raw::c_int, @@ -1251,31 +14,31 @@ extern "C" { lv: ::std::os::raw::c_int, v: *mut f64, ); - pub fn S_nlsb_iterate( + pub fn S_nlminb_iterate( b: *mut f64, d: *mut f64, - dr: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, v: *mut f64, x: *mut f64, ); - pub fn S_nlminb_iterate( + pub fn S_nlsb_iterate( b: *mut f64, d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, + dr: *mut f64, iv: *mut ::std::os::raw::c_int, liv: ::std::os::raw::c_int, lv: ::std::os::raw::c_int, n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, v: *mut f64, x: *mut f64, ); From 0959e11787700b34fd12dbb7c497f3e3eb96d0c3 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 08:36:53 +0200 Subject: [PATCH 38/50] comment a debug statement --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index e10cf9aa..554431db 100644 --- a/build.rs +++ b/build.rs @@ -569,7 +569,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let r_header_regex = r_header.replace(r"\", r"/"); let r_header_regex = regex::escape(&r_header_regex); - println!("cargo:warning=allowing {}", r_header_regex); + // println!("cargo:warning=allowing {}", r_header_regex); // dbg!(r_header_name); let mut bindings = bindgen_builder.clone(); bindings = bindings.allowlist_file(r_header_regex); From 78aea609fe766ba818d5ee55a789365fbfca2ebb Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 13:19:14 +0200 Subject: [PATCH 39/50] `cargo fmt` --- build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 554431db..a048c91c 100644 --- a/build.rs +++ b/build.rs @@ -457,8 +457,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { bindgen_builder.clang_args([format!("-I{r_include_path}",), format!("--target={target}")]); // this effectively ignores all non-R headers from sneaking in - bindgen_builder = bindgen_builder - .allowlist_file(".*mini_wrapper\\.h$"); + bindgen_builder = bindgen_builder.allowlist_file(".*mini_wrapper\\.h$"); // stops warning about ignored attributes, // e.g. ignores `__format__` attributes caused by `stdio.h` From eca7d3c118d42a11dadf7fd6584ea557c972c245 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 13:21:43 +0200 Subject: [PATCH 40/50] export bindings --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 95cc17dd..1b920ca6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -357,6 +357,10 @@ pub mod bindings { } } +#[cfg(feature = "disabled")] +use bindings::*; + + #[cfg(feature = "disabled")] #[cfg(test)] mod tests; From c9f590732708af785c36c2773b0286f47aed31f6 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 14:15:24 +0200 Subject: [PATCH 41/50] update nonAPI --- nonAPI.txt | 46 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 11 deletions(-) diff --git a/nonAPI.txt b/nonAPI.txt index 18fe2cbd..5759db4e 100644 --- a/nonAPI.txt +++ b/nonAPI.txt @@ -1,15 +1,30 @@ AllDevicesKilled Brent_fmin +COMPLEX0 +DDVAL +ENSURE_NAMEDMAX +ENVFLAGS +FRAME +HASHTAB +INTERNAL +IS_ASCII IS_GROWABLE -IS_SCALAR +IS_UTF8 +LEVELS +NAMED OutDec +PRCODE +PRENV PRIMOFFSET +PRSEEN +PRVALUE RC_fopen +RDEBUG +REAL0 R_CStackLimit R_CStackStart R_CleanTempDir R_ClearerrConsole -R_ClosureExpr R_CollectFromIndex R_CompiledFileName R_Consolefile @@ -86,6 +101,7 @@ R_ignore_SIGPIPE R_isForkedChild R_isMethodsDispatchOn R_moduleCdynload +R_nchar R_new_custom_connection R_opendir R_primitive_generic @@ -125,11 +141,10 @@ Rf_EncodeReal Rf_GPretty Rf_KillAllDevices Rf_NewEnvironment +Rf_NonNullStringMatch Rf_PrintDefaults Rf_ReplIteration Rf_Seql -Rf_StringFalse -Rf_StringTrue Rf_addTaskCallback Rf_begincontext Rf_callToplevelHandlers @@ -142,6 +157,7 @@ Rf_dpptr Rf_endEmbeddedR Rf_endcontext Rf_envlength +Rf_findVarInFrame3 Rf_formatComplex Rf_formatInteger Rf_formatLogical @@ -149,7 +165,6 @@ Rf_formatReal Rf_initEmbeddedR Rf_init_con Rf_initialize_R -Rf_isBlankString Rf_isProtected Rf_jump_to_toplevel Rf_mainloop @@ -158,7 +173,6 @@ Rf_mkFalse Rf_printNamedVector Rf_printRealVector Rf_printVector -Rf_psmatch Rf_removeTaskCallbackByIndex Rf_removeTaskCallbackByName Rf_setSVector @@ -169,10 +183,10 @@ Rf_strchr Rf_strrchr Rf_ucstomb Rf_utf8towcs +Rf_wait_usec Rf_wcstoutf8 Rg_PolledEvents Rg_set_col_ptrs -Rg_wait_usec Ri18n_iswctype Ri18n_wcswidth Ri18n_wctype @@ -186,22 +200,33 @@ Rsockwrite Runzip SETLENGTH SETLEVELS +SET_BODY +SET_CLOENV SET_ENCLOS SET_ENVFLAGS +SET_FORMALS SET_FRAME -SET_GROWABLE +SET_GROWABLE_BIT SET_HASHTAB SET_NAMED SET_PRCODE SET_PRENV +SET_PRSEEN SET_PRVALUE +SET_RDEBUG SET_S4_OBJECT SET_TRUELENGTH +SET_TYPEOF STDVEC_DATAPTR +STRING_PTR +SYMVALUE SaveAction +TRUELENGTH UNIMPLEMENTED_TYPE UNSET_S4_OBJECT -addInputHandler +VECTOR_PTR +XLENGTH_EX +XTRUELENGTH baseRegisterIndex call_R cg_ @@ -212,6 +237,7 @@ csduplicated currentTime dcar dcdr +ddfind do_Rprof do_Rprofmem do_X11 @@ -240,7 +266,6 @@ freeRUser free_R_HOME getConnection getDLLVersion -getInputHandler getPRIMNAME getRUser getSelectedHandler @@ -281,7 +306,6 @@ ptr_do_dataviewer ptr_do_selectlist pythag_ readconsolecfg -removeInputHandler rg_ rs_ run_Rmainloop From a29acaa7439f509fc704b15d7b96359ed19f3597 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 14:18:16 +0200 Subject: [PATCH 42/50] moved generated bindings to root added 4.2 to the generation --- .github/workflows/test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb73117a..f408b993 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,13 +64,15 @@ jobs: - {os: windows-latest, r: 'devel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} # - {os: windows-latest, r: 'release', rust-version: 'stable-gnu', target: 'x86_64-pc-windows-gnu'} - {os: windows-latest, r: 'oldrel', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true'} + - {os: windows-latest, r: '4.2', rust-version: 'stable-msvc', target: 'x86_64-pc-windows-gnu', emit-bindings: 'true' } # - {os: macOS-latest, r: 'release', rust-version: 'nightly'} - {os: macOS-latest, r: 'devel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'oldrel', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} - {os: macOS-latest, r: 'release', rust-version: 'stable', target: 'x86_64-apple-darwin', skip-tests: 'true', emit-bindings: 'true'} - + - {os: macOS-latest, r: '4.2', rust-version: 'stable', emit-bindings: 'true' } + - {os: macOS-latest, r: '4.2', rust-version: 'stable', target: 'x86_64-apple-darwin', skip-tests: 'true', emit-bindings: 'true'} # - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'} - {os: ubuntu-latest, r: 'release', rust-version: 'stable', emit-bindings: 'true'} @@ -82,6 +84,9 @@ jobs: - {os: ubuntu-latest, r: 'oldrel', rust-version: 'stable', emit-bindings: 'true'} - {os: ubuntu-latest, r: 'oldrel', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} + - {os: ubuntu-latest, r: '4.2', rust-version: 'stable', emit-bindings: 'true' } + - {os: ubuntu-latest, r: '4.2', rust-version: 'stable', target: 'aarch64-unknown-linux-gnu', skip-tests: 'true', emit-bindings: 'true'} + env: RSPM: ${{ matrix.config.rspm }} @@ -279,10 +284,10 @@ jobs: - name: Update bindings run: | # Update or add the bindings - cp generated_binding-*/*.rs src/bindings/ + cp generated_binding-*/*.rs bindings/ # Replace the default bindings - cd src/bindings + cd bindings # TODO: this needs adjustment for the new output files... # for x in linux-aarch64 linux-x86_64 macos-aarch64 macos-x86_64 windows-x86_64; do # # Choose the newest version except for devel @@ -291,7 +296,7 @@ jobs: cd .. - name: Add generated bindings run: | - git add src/bindings/ + git add bindings/ git config --local user.name "${GITHUB_ACTOR}" git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git commit -m "Update bindings [skip ci]" From 0ffe6641822be67764abb35fba79013f9ecd2a4d Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 14:19:04 +0200 Subject: [PATCH 43/50] move the bindings --- .../bindings-Altrep-linux-aarch64-R4.3.rs | 0 .../bindings-Altrep-linux-aarch64-R4.4.rs | 0 ...indings-Altrep-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Altrep-linux-x86_64-R4.3.rs | 0 .../bindings-Altrep-linux-x86_64-R4.4.rs | 0 ...bindings-Altrep-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Altrep-macos-aarch64-R4.3.rs | 0 .../bindings-Altrep-macos-aarch64-R4.4.rs | 0 ...indings-Altrep-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Altrep-macos-x86_64-R4.4.rs | 0 .../bindings-Altrep-windows-x86_64-R4.3.rs | 640 +- .../bindings-Altrep-windows-x86_64-R4.4.rs | 640 +- ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 640 +- .../bindings-Applic-linux-aarch64-R4.3.rs | 0 .../bindings-Applic-linux-aarch64-R4.4.rs | 0 ...indings-Applic-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Applic-linux-x86_64-R4.3.rs | 0 .../bindings-Applic-linux-x86_64-R4.4.rs | 0 ...bindings-Applic-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Applic-macos-aarch64-R4.3.rs | 0 .../bindings-Applic-macos-aarch64-R4.4.rs | 0 ...indings-Applic-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Applic-macos-x86_64-R4.4.rs | 0 .../bindings-Applic-windows-x86_64-R4.3.rs | 562 +- .../bindings-Applic-windows-x86_64-R4.4.rs | 562 +- ...ndings-Applic-windows-x86_64-R4.5-devel.rs | 562 +- .../bindings-Arith-linux-aarch64-R4.3.rs | 0 .../bindings-Arith-linux-aarch64-R4.4.rs | 0 ...bindings-Arith-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Arith-linux-x86_64-R4.3.rs | 0 .../bindings-Arith-linux-x86_64-R4.4.rs | 0 .../bindings-Arith-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Arith-macos-aarch64-R4.3.rs | 0 .../bindings-Arith-macos-aarch64-R4.4.rs | 0 ...bindings-Arith-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Arith-macos-x86_64-R4.4.rs | 0 .../bindings-Arith-windows-x86_64-R4.3.rs | 46 +- .../bindings-Arith-windows-x86_64-R4.4.rs | 46 +- ...indings-Arith-windows-x86_64-R4.5-devel.rs | 46 +- .../bindings-BLAS-linux-aarch64-R4.3.rs | 0 .../bindings-BLAS-linux-aarch64-R4.4.rs | 0 .../bindings-BLAS-linux-aarch64-R4.5-devel.rs | 0 .../bindings-BLAS-linux-x86_64-R4.3.rs | 0 .../bindings-BLAS-linux-x86_64-R4.4.rs | 0 .../bindings-BLAS-linux-x86_64-R4.5-devel.rs | 0 .../bindings-BLAS-macos-aarch64-R4.3.rs | 0 .../bindings-BLAS-macos-aarch64-R4.4.rs | 0 .../bindings-BLAS-macos-aarch64-R4.5-devel.rs | 0 .../bindings-BLAS-macos-x86_64-R4.4.rs | 0 .../bindings-BLAS-windows-x86_64-R4.3.rs | 1776 +-- .../bindings-BLAS-windows-x86_64-R4.4.rs | 1802 +-- ...bindings-BLAS-windows-x86_64-R4.5-devel.rs | 1802 +-- .../bindings-Boolean-linux-aarch64-R4.3.rs | 0 .../bindings-Boolean-linux-aarch64-R4.4.rs | 0 ...ndings-Boolean-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Boolean-linux-x86_64-R4.3.rs | 0 .../bindings-Boolean-linux-x86_64-R4.4.rs | 0 ...indings-Boolean-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Boolean-macos-aarch64-R4.3.rs | 0 .../bindings-Boolean-macos-aarch64-R4.4.rs | 0 ...ndings-Boolean-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Boolean-macos-x86_64-R4.4.rs | 0 .../bindings-Boolean-windows-x86_64-R4.3.rs | 30 +- .../bindings-Boolean-windows-x86_64-R4.4.rs | 30 +- ...dings-Boolean-windows-x86_64-R4.5-devel.rs | 30 +- .../bindings-Callbacks-linux-aarch64-R4.3.rs | 0 .../bindings-Callbacks-linux-aarch64-R4.4.rs | 0 ...ings-Callbacks-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Callbacks-linux-x86_64-R4.3.rs | 0 .../bindings-Callbacks-linux-x86_64-R4.4.rs | 0 ...dings-Callbacks-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Callbacks-macos-aarch64-R4.3.rs | 0 .../bindings-Callbacks-macos-aarch64-R4.4.rs | 0 ...ings-Callbacks-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Callbacks-macos-x86_64-R4.4.rs | 0 .../bindings-Callbacks-windows-x86_64-R4.3.rs | 192 +- .../bindings-Callbacks-windows-x86_64-R4.4.rs | 192 +- ...ngs-Callbacks-windows-x86_64-R4.5-devel.rs | 192 +- .../bindings-Complex-linux-aarch64-R4.3.rs | 0 .../bindings-Complex-linux-aarch64-R4.4.rs | 0 ...ndings-Complex-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Complex-linux-x86_64-R4.3.rs | 0 .../bindings-Complex-linux-x86_64-R4.4.rs | 0 ...indings-Complex-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Complex-macos-aarch64-R4.3.rs | 0 .../bindings-Complex-macos-aarch64-R4.4.rs | 0 ...ndings-Complex-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Complex-macos-x86_64-R4.4.rs | 0 .../bindings-Complex-windows-x86_64-R4.3.rs | 28 +- .../bindings-Complex-windows-x86_64-R4.4.rs | 15 + ...dings-Complex-windows-x86_64-R4.5-devel.rs | 28 +- ...bindings-Connections-linux-aarch64-R4.3.rs | 0 ...bindings-Connections-linux-aarch64-R4.4.rs | 0 ...gs-Connections-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Connections-linux-x86_64-R4.3.rs | 0 .../bindings-Connections-linux-x86_64-R4.4.rs | 0 ...ngs-Connections-linux-x86_64-R4.5-devel.rs | 0 ...bindings-Connections-macos-aarch64-R4.3.rs | 0 ...bindings-Connections-macos-aarch64-R4.4.rs | 0 ...gs-Connections-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Connections-macos-x86_64-R4.4.rs | 0 ...indings-Connections-windows-x86_64-R4.3.rs | 226 +- ...indings-Connections-windows-x86_64-R4.4.rs | 114 + ...s-Connections-windows-x86_64-R4.5-devel.rs | 226 +- .../bindings-Constants-linux-aarch64-R4.3.rs | 0 .../bindings-Constants-linux-aarch64-R4.4.rs | 0 ...ings-Constants-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Constants-linux-x86_64-R4.3.rs | 0 .../bindings-Constants-linux-x86_64-R4.4.rs | 0 ...dings-Constants-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Constants-macos-aarch64-R4.3.rs | 0 .../bindings-Constants-macos-aarch64-R4.4.rs | 0 ...ings-Constants-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Constants-macos-x86_64-R4.4.rs | 0 .../bindings-Constants-windows-x86_64-R4.3.rs | 16 +- .../bindings-Constants-windows-x86_64-R4.4.rs | 9 + ...ngs-Constants-windows-x86_64-R4.5-devel.rs | 16 +- .../bindings-Error-linux-aarch64-R4.3.rs | 0 .../bindings-Error-linux-aarch64-R4.4.rs | 0 ...bindings-Error-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Error-linux-x86_64-R4.3.rs | 0 .../bindings-Error-linux-x86_64-R4.4.rs | 0 .../bindings-Error-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Error-macos-aarch64-R4.3.rs | 0 .../bindings-Error-macos-aarch64-R4.4.rs | 0 ...bindings-Error-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Error-macos-x86_64-R4.4.rs | 0 .../bindings-Error-windows-x86_64-R4.3.rs | 28 +- .../bindings-Error-windows-x86_64-R4.4.rs | 15 + ...indings-Error-windows-x86_64-R4.5-devel.rs | 28 +- ...bindings-GetX11Image-linux-aarch64-R4.3.rs | 0 ...bindings-GetX11Image-linux-aarch64-R4.4.rs | 0 ...gs-GetX11Image-linux-aarch64-R4.5-devel.rs | 0 .../bindings-GetX11Image-linux-x86_64-R4.3.rs | 0 .../bindings-GetX11Image-linux-x86_64-R4.4.rs | 0 ...ngs-GetX11Image-linux-x86_64-R4.5-devel.rs | 0 ...bindings-GetX11Image-macos-aarch64-R4.3.rs | 0 ...bindings-GetX11Image-macos-aarch64-R4.4.rs | 0 ...gs-GetX11Image-macos-aarch64-R4.5-devel.rs | 0 .../bindings-GetX11Image-macos-x86_64-R4.4.rs | 0 ...dings-GraphicsDevice-linux-aarch64-R4.3.rs | 0 ...dings-GraphicsDevice-linux-aarch64-R4.4.rs | 0 ...GraphicsDevice-linux-aarch64-R4.5-devel.rs | 0 ...ndings-GraphicsDevice-linux-x86_64-R4.3.rs | 0 ...ndings-GraphicsDevice-linux-x86_64-R4.4.rs | 0 ...-GraphicsDevice-linux-x86_64-R4.5-devel.rs | 0 ...dings-GraphicsDevice-macos-aarch64-R4.3.rs | 0 ...dings-GraphicsDevice-macos-aarch64-R4.4.rs | 0 ...GraphicsDevice-macos-aarch64-R4.5-devel.rs | 0 ...ndings-GraphicsDevice-macos-x86_64-R4.4.rs | 0 ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 734 +- ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 368 + ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 734 +- ...dings-GraphicsEngine-linux-aarch64-R4.3.rs | 0 ...dings-GraphicsEngine-linux-aarch64-R4.4.rs | 0 ...GraphicsEngine-linux-aarch64-R4.5-devel.rs | 0 ...ndings-GraphicsEngine-linux-x86_64-R4.3.rs | 0 ...ndings-GraphicsEngine-linux-x86_64-R4.4.rs | 0 ...-GraphicsEngine-linux-x86_64-R4.5-devel.rs | 0 ...dings-GraphicsEngine-macos-aarch64-R4.3.rs | 0 ...dings-GraphicsEngine-macos-aarch64-R4.4.rs | 0 ...GraphicsEngine-macos-aarch64-R4.5-devel.rs | 0 ...ndings-GraphicsEngine-macos-x86_64-R4.4.rs | 0 ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 1598 +- ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 800 + ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 1598 +- .../bindings-Itermacros-linux-aarch64-R4.3.rs | 0 .../bindings-Itermacros-linux-aarch64-R4.4.rs | 0 ...ngs-Itermacros-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Itermacros-linux-x86_64-R4.3.rs | 0 .../bindings-Itermacros-linux-x86_64-R4.4.rs | 0 ...ings-Itermacros-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Itermacros-macos-aarch64-R4.3.rs | 0 .../bindings-Itermacros-macos-aarch64-R4.4.rs | 0 ...ngs-Itermacros-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Itermacros-macos-x86_64-R4.4.rs | 0 ...bindings-Itermacros-windows-x86_64-R4.3.rs | 16 +- ...bindings-Itermacros-windows-x86_64-R4.4.rs | 9 + ...gs-Itermacros-windows-x86_64-R4.5-devel.rs | 16 +- .../bindings-Lapack-linux-aarch64-R4.3.rs | 0 .../bindings-Lapack-linux-aarch64-R4.4.rs | 0 ...indings-Lapack-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Lapack-linux-x86_64-R4.3.rs | 0 .../bindings-Lapack-linux-x86_64-R4.4.rs | 0 ...bindings-Lapack-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Lapack-macos-aarch64-R4.3.rs | 0 .../bindings-Lapack-macos-aarch64-R4.4.rs | 0 ...indings-Lapack-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Lapack-macos-x86_64-R4.4.rs | 0 .../bindings-Lapack-windows-x86_64-R4.3.rs | 12198 +++++++-------- .../bindings-Lapack-windows-x86_64-R4.4.rs | 6494 ++++++++ ...ndings-Lapack-windows-x86_64-R4.5-devel.rs | 12986 ++++++++-------- .../bindings-Linpack-linux-aarch64-R4.3.rs | 0 .../bindings-Linpack-linux-aarch64-R4.4.rs | 0 ...ndings-Linpack-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Linpack-linux-x86_64-R4.3.rs | 0 .../bindings-Linpack-linux-x86_64-R4.4.rs | 0 ...indings-Linpack-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Linpack-macos-aarch64-R4.3.rs | 0 .../bindings-Linpack-macos-aarch64-R4.4.rs | 0 ...ndings-Linpack-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Linpack-macos-x86_64-R4.4.rs | 0 .../bindings-Linpack-windows-x86_64-R4.3.rs | 662 +- .../bindings-Linpack-windows-x86_64-R4.4.rs | 332 + ...dings-Linpack-windows-x86_64-R4.5-devel.rs | 662 +- ...bindings-MathThreads-linux-aarch64-R4.3.rs | 0 ...bindings-MathThreads-linux-aarch64-R4.4.rs | 0 ...gs-MathThreads-linux-aarch64-R4.5-devel.rs | 0 .../bindings-MathThreads-linux-x86_64-R4.3.rs | 0 .../bindings-MathThreads-linux-x86_64-R4.4.rs | 0 ...ngs-MathThreads-linux-x86_64-R4.5-devel.rs | 0 ...bindings-MathThreads-macos-aarch64-R4.3.rs | 0 ...bindings-MathThreads-macos-aarch64-R4.4.rs | 0 ...gs-MathThreads-macos-aarch64-R4.5-devel.rs | 0 .../bindings-MathThreads-macos-x86_64-R4.4.rs | 0 ...indings-MathThreads-windows-x86_64-R4.3.rs | 22 +- ...indings-MathThreads-windows-x86_64-R4.4.rs | 12 + ...s-MathThreads-windows-x86_64-R4.5-devel.rs | 22 +- .../bindings-Memory-linux-aarch64-R4.3.rs | 0 .../bindings-Memory-linux-aarch64-R4.4.rs | 0 ...indings-Memory-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Memory-linux-x86_64-R4.3.rs | 0 .../bindings-Memory-linux-x86_64-R4.4.rs | 0 ...bindings-Memory-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Memory-macos-aarch64-R4.3.rs | 0 .../bindings-Memory-macos-aarch64-R4.4.rs | 0 ...indings-Memory-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Memory-macos-x86_64-R4.4.rs | 0 .../bindings-Memory-windows-x86_64-R4.3.rs | 62 +- .../bindings-Memory-windows-x86_64-R4.4.rs | 32 + ...ndings-Memory-windows-x86_64-R4.5-devel.rs | 62 +- .../bindings-Parse-linux-aarch64-R4.3.rs | 0 .../bindings-Parse-linux-aarch64-R4.4.rs | 0 ...bindings-Parse-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Parse-linux-x86_64-R4.3.rs | 0 .../bindings-Parse-linux-x86_64-R4.4.rs | 0 .../bindings-Parse-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Parse-macos-aarch64-R4.3.rs | 0 .../bindings-Parse-macos-aarch64-R4.4.rs | 0 ...bindings-Parse-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Parse-macos-x86_64-R4.4.rs | 0 .../bindings-Parse-windows-x86_64-R4.3.rs | 50 +- .../bindings-Parse-windows-x86_64-R4.4.rs | 26 + ...indings-Parse-windows-x86_64-R4.5-devel.rs | 50 +- .../bindings-Print-linux-aarch64-R4.3.rs | 0 .../bindings-Print-linux-aarch64-R4.4.rs | 0 ...bindings-Print-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Print-linux-x86_64-R4.3.rs | 0 .../bindings-Print-linux-x86_64-R4.4.rs | 0 .../bindings-Print-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Print-macos-aarch64-R4.3.rs | 0 .../bindings-Print-macos-aarch64-R4.4.rs | 0 ...bindings-Print-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Print-macos-x86_64-R4.4.rs | 0 .../bindings-Print-windows-x86_64-R4.3.rs | 32 +- .../bindings-Print-windows-x86_64-R4.4.rs | 17 + ...indings-Print-windows-x86_64-R4.5-devel.rs | 32 +- .../bindings-PrtUtil-linux-aarch64-R4.3.rs | 0 .../bindings-PrtUtil-linux-aarch64-R4.4.rs | 0 ...ndings-PrtUtil-linux-aarch64-R4.5-devel.rs | 0 .../bindings-PrtUtil-linux-x86_64-R4.3.rs | 0 .../bindings-PrtUtil-linux-x86_64-R4.4.rs | 0 ...indings-PrtUtil-linux-x86_64-R4.5-devel.rs | 0 .../bindings-PrtUtil-macos-aarch64-R4.3.rs | 0 .../bindings-PrtUtil-macos-aarch64-R4.4.rs | 0 ...ndings-PrtUtil-macos-aarch64-R4.5-devel.rs | 0 .../bindings-PrtUtil-macos-x86_64-R4.4.rs | 0 .../bindings-PrtUtil-windows-x86_64-R4.3.rs | 220 +- .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 111 + ...dings-PrtUtil-windows-x86_64-R4.5-devel.rs | 220 +- ...indings-QuartzDevice-linux-aarch64-R4.3.rs | 0 ...indings-QuartzDevice-linux-aarch64-R4.4.rs | 0 ...s-QuartzDevice-linux-aarch64-R4.5-devel.rs | 0 ...bindings-QuartzDevice-linux-x86_64-R4.3.rs | 0 ...bindings-QuartzDevice-linux-x86_64-R4.4.rs | 0 ...gs-QuartzDevice-linux-x86_64-R4.5-devel.rs | 0 ...indings-QuartzDevice-macos-aarch64-R4.3.rs | 0 ...indings-QuartzDevice-macos-aarch64-R4.4.rs | 0 ...s-QuartzDevice-macos-aarch64-R4.5-devel.rs | 0 ...bindings-QuartzDevice-macos-x86_64-R4.4.rs | 0 .../bindings-R-linux-aarch64-R4.3.rs | 0 .../bindings-R-linux-aarch64-R4.4.rs | 0 .../bindings-R-linux-aarch64-R4.5-devel.rs | 0 .../bindings-R-linux-x86_64-R4.3.rs | 0 .../bindings-R-linux-x86_64-R4.4.rs | 0 .../bindings-R-linux-x86_64-R4.5-devel.rs | 0 .../bindings-R-macos-aarch64-R4.3.rs | 0 .../bindings-R-macos-aarch64-R4.4.rs | 0 .../bindings-R-macos-aarch64-R4.5-devel.rs | 0 .../bindings-R-macos-x86_64-R4.4.rs | 0 .../bindings-R-windows-x86_64-R4.3.rs | 28 +- .../bindings-R-windows-x86_64-R4.4.rs | 28 +- .../bindings-R-windows-x86_64-R4.5-devel.rs | 28 +- .../bindings-RS-linux-aarch64-R4.3.rs | 0 .../bindings-RS-linux-aarch64-R4.4.rs | 0 .../bindings-RS-linux-aarch64-R4.5-devel.rs | 0 .../bindings-RS-linux-x86_64-R4.3.rs | 0 .../bindings-RS-linux-x86_64-R4.4.rs | 0 .../bindings-RS-linux-x86_64-R4.5-devel.rs | 0 .../bindings-RS-macos-aarch64-R4.3.rs | 0 .../bindings-RS-macos-aarch64-R4.4.rs | 0 .../bindings-RS-macos-aarch64-R4.5-devel.rs | 0 .../bindings-RS-macos-x86_64-R4.4.rs | 0 .../bindings-RS-windows-x86_64-R4.3.rs | 32 +- bindings/bindings-RS-windows-x86_64-R4.4.rs | 17 + .../bindings-RS-windows-x86_64-R4.5-devel.rs | 32 +- .../bindings-RStartup-linux-aarch64-R4.3.rs | 0 .../bindings-RStartup-linux-aarch64-R4.4.rs | 0 ...dings-RStartup-linux-aarch64-R4.5-devel.rs | 0 .../bindings-RStartup-linux-x86_64-R4.3.rs | 0 .../bindings-RStartup-linux-x86_64-R4.4.rs | 0 ...ndings-RStartup-linux-x86_64-R4.5-devel.rs | 0 .../bindings-RStartup-macos-aarch64-R4.3.rs | 0 .../bindings-RStartup-macos-aarch64-R4.4.rs | 0 ...dings-RStartup-macos-aarch64-R4.5-devel.rs | 0 .../bindings-RStartup-macos-x86_64-R4.4.rs | 0 .../bindings-RStartup-windows-x86_64-R4.3.rs | 466 +- .../bindings-RStartup-windows-x86_64-R4.4.rs | 235 + ...ings-RStartup-windows-x86_64-R4.5-devel.rs | 468 +- ...bindings-Rallocators-linux-aarch64-R4.3.rs | 0 ...bindings-Rallocators-linux-aarch64-R4.4.rs | 0 ...gs-Rallocators-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rallocators-linux-x86_64-R4.3.rs | 0 .../bindings-Rallocators-linux-x86_64-R4.4.rs | 0 ...ngs-Rallocators-linux-x86_64-R4.5-devel.rs | 0 ...bindings-Rallocators-macos-aarch64-R4.3.rs | 0 ...bindings-Rallocators-macos-aarch64-R4.4.rs | 0 ...gs-Rallocators-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rallocators-macos-x86_64-R4.4.rs | 0 ...indings-Rallocators-windows-x86_64-R4.3.rs | 52 +- ...indings-Rallocators-windows-x86_64-R4.4.rs | 27 + ...s-Rallocators-windows-x86_64-R4.5-devel.rs | 52 +- .../bindings-Random-linux-aarch64-R4.3.rs | 0 .../bindings-Random-linux-aarch64-R4.4.rs | 0 ...indings-Random-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Random-linux-x86_64-R4.3.rs | 0 .../bindings-Random-linux-x86_64-R4.4.rs | 0 ...bindings-Random-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Random-macos-aarch64-R4.3.rs | 0 .../bindings-Random-macos-aarch64-R4.4.rs | 0 ...indings-Random-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Random-macos-x86_64-R4.4.rs | 0 .../bindings-Random-windows-x86_64-R4.3.rs | 106 +- .../bindings-Random-windows-x86_64-R4.4.rs | 54 + ...ndings-Random-windows-x86_64-R4.5-devel.rs | 106 +- .../bindings-Rconfig-linux-aarch64-R4.3.rs | 0 .../bindings-Rconfig-linux-aarch64-R4.4.rs | 0 ...ndings-Rconfig-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rconfig-linux-x86_64-R4.3.rs | 0 .../bindings-Rconfig-linux-x86_64-R4.4.rs | 0 ...indings-Rconfig-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rconfig-macos-aarch64-R4.3.rs | 0 .../bindings-Rconfig-macos-aarch64-R4.4.rs | 0 ...ndings-Rconfig-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rconfig-macos-x86_64-R4.4.rs | 0 .../bindings-Rconfig-windows-x86_64-R4.3.rs | 30 +- .../bindings-Rconfig-windows-x86_64-R4.4.rs | 30 +- ...dings-Rconfig-windows-x86_64-R4.5-devel.rs | 30 +- .../bindings-Rdefines-linux-aarch64-R4.3.rs | 0 .../bindings-Rdefines-linux-aarch64-R4.4.rs | 0 ...dings-Rdefines-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rdefines-linux-x86_64-R4.3.rs | 0 .../bindings-Rdefines-linux-x86_64-R4.4.rs | 0 ...ndings-Rdefines-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rdefines-macos-aarch64-R4.3.rs | 0 .../bindings-Rdefines-macos-aarch64-R4.4.rs | 0 ...dings-Rdefines-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rdefines-macos-x86_64-R4.4.rs | 0 .../bindings-Rdefines-windows-x86_64-R4.3.rs | 20 +- .../bindings-Rdefines-windows-x86_64-R4.4.rs | 20 +- ...ings-Rdefines-windows-x86_64-R4.5-devel.rs | 20 +- .../bindings-Rdynload-linux-aarch64-R4.3.rs | 0 .../bindings-Rdynload-linux-aarch64-R4.4.rs | 0 ...dings-Rdynload-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rdynload-linux-x86_64-R4.3.rs | 0 .../bindings-Rdynload-linux-x86_64-R4.4.rs | 0 ...ndings-Rdynload-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rdynload-macos-aarch64-R4.3.rs | 0 .../bindings-Rdynload-macos-aarch64-R4.4.rs | 0 ...dings-Rdynload-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rdynload-macos-x86_64-R4.4.rs | 0 .../bindings-Rdynload-windows-x86_64-R4.3.rs | 176 +- .../bindings-Rdynload-windows-x86_64-R4.4.rs | 89 + ...ings-Rdynload-windows-x86_64-R4.5-devel.rs | 180 +- .../bindings-Rembedded-linux-aarch64-R4.3.rs | 0 .../bindings-Rembedded-linux-aarch64-R4.4.rs | 0 ...ings-Rembedded-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rembedded-linux-x86_64-R4.3.rs | 0 .../bindings-Rembedded-linux-x86_64-R4.4.rs | 0 ...dings-Rembedded-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rembedded-macos-aarch64-R4.3.rs | 0 .../bindings-Rembedded-macos-aarch64-R4.4.rs | 0 ...ings-Rembedded-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rembedded-macos-x86_64-R4.4.rs | 0 .../bindings-Rembedded-windows-x86_64-R4.3.rs | 66 +- .../bindings-Rembedded-windows-x86_64-R4.4.rs | 66 +- ...ngs-Rembedded-windows-x86_64-R4.5-devel.rs | 66 +- .../bindings-Riconv-linux-aarch64-R4.3.rs | 0 .../bindings-Riconv-linux-aarch64-R4.4.rs | 0 ...indings-Riconv-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Riconv-linux-x86_64-R4.3.rs | 0 .../bindings-Riconv-linux-x86_64-R4.4.rs | 0 ...bindings-Riconv-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Riconv-macos-aarch64-R4.3.rs | 0 .../bindings-Riconv-macos-aarch64-R4.4.rs | 0 ...indings-Riconv-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Riconv-macos-x86_64-R4.4.rs | 0 .../bindings-Riconv-windows-x86_64-R4.3.rs | 42 +- .../bindings-Riconv-windows-x86_64-R4.4.rs | 22 + ...ndings-Riconv-windows-x86_64-R4.5-devel.rs | 42 +- .../bindings-Rinterface-linux-aarch64-R4.3.rs | 0 .../bindings-Rinterface-linux-aarch64-R4.4.rs | 0 ...ngs-Rinterface-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rinterface-linux-x86_64-R4.3.rs | 0 .../bindings-Rinterface-linux-x86_64-R4.4.rs | 0 ...ings-Rinterface-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rinterface-macos-aarch64-R4.3.rs | 0 .../bindings-Rinterface-macos-aarch64-R4.4.rs | 0 ...ngs-Rinterface-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rinterface-macos-x86_64-R4.4.rs | 0 .../bindings-Rinternals-linux-aarch64-R4.3.rs | 0 .../bindings-Rinternals-linux-aarch64-R4.4.rs | 0 ...ngs-Rinternals-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rinternals-linux-x86_64-R4.3.rs | 0 .../bindings-Rinternals-linux-x86_64-R4.4.rs | 0 ...ings-Rinternals-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rinternals-macos-aarch64-R4.3.rs | 0 .../bindings-Rinternals-macos-aarch64-R4.4.rs | 0 ...ngs-Rinternals-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rinternals-macos-x86_64-R4.4.rs | 0 ...bindings-Rinternals-windows-x86_64-R4.3.rs | 1944 +-- ...bindings-Rinternals-windows-x86_64-R4.4.rs | 1950 +-- ...gs-Rinternals-windows-x86_64-R4.5-devel.rs | 1970 +-- .../bindings-Rmath-linux-aarch64-R4.3.rs | 0 .../bindings-Rmath-linux-aarch64-R4.4.rs | 0 ...bindings-Rmath-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rmath-linux-x86_64-R4.3.rs | 0 .../bindings-Rmath-linux-x86_64-R4.4.rs | 0 .../bindings-Rmath-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rmath-macos-aarch64-R4.3.rs | 0 .../bindings-Rmath-macos-aarch64-R4.4.rs | 0 ...bindings-Rmath-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rmath-macos-x86_64-R4.4.rs | 0 .../bindings-Rmath-windows-x86_64-R4.3.rs | 1074 +- .../bindings-Rmath-windows-x86_64-R4.4.rs | 1076 +- ...indings-Rmath-windows-x86_64-R4.5-devel.rs | 1076 +- .../bindings-Rversion-linux-aarch64-R4.3.rs | 0 .../bindings-Rversion-linux-aarch64-R4.4.rs | 0 ...dings-Rversion-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Rversion-linux-x86_64-R4.3.rs | 0 .../bindings-Rversion-linux-x86_64-R4.4.rs | 0 ...ndings-Rversion-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Rversion-macos-aarch64-R4.3.rs | 0 .../bindings-Rversion-macos-aarch64-R4.4.rs | 0 ...dings-Rversion-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Rversion-macos-x86_64-R4.4.rs | 0 .../bindings-Rversion-windows-x86_64-R4.3.rs | 32 +- .../bindings-Rversion-windows-x86_64-R4.4.rs | 32 +- ...ings-Rversion-windows-x86_64-R4.5-devel.rs | 32 +- .../bindings-Utils-linux-aarch64-R4.3.rs | 0 .../bindings-Utils-linux-aarch64-R4.4.rs | 0 ...bindings-Utils-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Utils-linux-x86_64-R4.3.rs | 0 .../bindings-Utils-linux-x86_64-R4.4.rs | 0 .../bindings-Utils-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Utils-macos-aarch64-R4.3.rs | 0 .../bindings-Utils-macos-aarch64-R4.4.rs | 0 ...bindings-Utils-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Utils-macos-x86_64-R4.4.rs | 0 .../bindings-Utils-windows-x86_64-R4.3.rs | 346 +- .../bindings-Utils-windows-x86_64-R4.4.rs | 177 + ...indings-Utils-windows-x86_64-R4.5-devel.rs | 318 +- .../bindings-Visibility-linux-aarch64-R4.3.rs | 0 .../bindings-Visibility-linux-aarch64-R4.4.rs | 0 ...ngs-Visibility-linux-aarch64-R4.5-devel.rs | 0 .../bindings-Visibility-linux-x86_64-R4.3.rs | 0 .../bindings-Visibility-linux-x86_64-R4.4.rs | 0 ...ings-Visibility-linux-x86_64-R4.5-devel.rs | 0 .../bindings-Visibility-macos-aarch64-R4.3.rs | 0 .../bindings-Visibility-macos-aarch64-R4.4.rs | 0 ...ngs-Visibility-macos-aarch64-R4.5-devel.rs | 0 .../bindings-Visibility-macos-x86_64-R4.4.rs | 0 ...bindings-Visibility-windows-x86_64-R4.3.rs | 14 +- ...bindings-Visibility-windows-x86_64-R4.4.rs | 8 + ...gs-Visibility-windows-x86_64-R4.5-devel.rs | 14 +- .../bindings-eventloop-linux-aarch64-R4.3.rs | 0 .../bindings-eventloop-linux-aarch64-R4.4.rs | 0 ...ings-eventloop-linux-aarch64-R4.5-devel.rs | 0 .../bindings-eventloop-linux-x86_64-R4.3.rs | 0 .../bindings-eventloop-linux-x86_64-R4.4.rs | 0 ...dings-eventloop-linux-x86_64-R4.5-devel.rs | 0 .../bindings-eventloop-macos-aarch64-R4.3.rs | 0 .../bindings-eventloop-macos-aarch64-R4.4.rs | 0 ...ings-eventloop-macos-aarch64-R4.5-devel.rs | 0 .../bindings-eventloop-macos-x86_64-R4.4.rs | 0 .../bindings-ga-windows-x86_64-R4.3.rs | 772 +- .../bindings-ga-windows-x86_64-R4.4.rs | 774 +- .../bindings-ga-windows-x86_64-R4.5-devel.rs | 774 +- .../bindings-graphapp-windows-x86_64-R4.3.rs | 1262 +- .../bindings-graphapp-windows-x86_64-R4.4.rs | 1266 +- ...ings-graphapp-windows-x86_64-R4.5-devel.rs | 1266 +- .../bindings-iconv-windows-x86_64-R4.3.rs | 64 +- .../bindings-iconv-windows-x86_64-R4.4.rs | 64 +- ...indings-iconv-windows-x86_64-R4.5-devel.rs | 64 +- .../bindings-libextern-linux-aarch64-R4.3.rs | 0 .../bindings-libextern-linux-aarch64-R4.4.rs | 0 ...ings-libextern-linux-aarch64-R4.5-devel.rs | 0 .../bindings-libextern-linux-x86_64-R4.3.rs | 0 .../bindings-libextern-linux-x86_64-R4.4.rs | 0 ...dings-libextern-linux-x86_64-R4.5-devel.rs | 0 .../bindings-libextern-macos-aarch64-R4.3.rs | 0 .../bindings-libextern-macos-aarch64-R4.4.rs | 0 ...ings-libextern-macos-aarch64-R4.5-devel.rs | 0 .../bindings-libextern-macos-x86_64-R4.4.rs | 0 .../bindings-libextern-windows-x86_64-R4.3.rs | 14 +- .../bindings-libextern-windows-x86_64-R4.4.rs | 8 + ...ngs-libextern-windows-x86_64-R4.5-devel.rs | 14 +- .../bindings-libintl-macos-aarch64-R4.3.rs | 0 .../bindings-libintl-macos-aarch64-R4.4.rs | 0 ...ndings-libintl-macos-aarch64-R4.5-devel.rs | 0 .../bindings-libintl-macos-x86_64-R4.4.rs | 0 .../bindings-libintl-windows-x86_64-R4.3.rs | 114 +- .../bindings-libintl-windows-x86_64-R4.4.rs | 114 +- ...dings-libintl-windows-x86_64-R4.5-devel.rs | 114 +- ...ndings-stats_package-linux-aarch64-R4.3.rs | 0 ...ndings-stats_package-linux-aarch64-R4.4.rs | 0 ...-stats_package-linux-aarch64-R4.5-devel.rs | 0 ...indings-stats_package-linux-x86_64-R4.3.rs | 0 ...indings-stats_package-linux-x86_64-R4.4.rs | 0 ...s-stats_package-linux-x86_64-R4.5-devel.rs | 0 ...ndings-stats_package-macos-aarch64-R4.3.rs | 0 ...ndings-stats_package-macos-aarch64-R4.4.rs | 0 ...-stats_package-macos-aarch64-R4.5-devel.rs | 0 ...indings-stats_package-macos-x86_64-R4.4.rs | 0 ...dings-stats_package-windows-x86_64-R4.3.rs | 234 +- ...dings-stats_package-windows-x86_64-R4.4.rs | 118 + ...stats_package-windows-x86_64-R4.5-devel.rs | 234 +- ...bindings-stats_stubs-linux-aarch64-R4.3.rs | 0 ...bindings-stats_stubs-linux-aarch64-R4.4.rs | 0 ...gs-stats_stubs-linux-aarch64-R4.5-devel.rs | 0 .../bindings-stats_stubs-linux-x86_64-R4.3.rs | 0 .../bindings-stats_stubs-linux-x86_64-R4.4.rs | 0 ...ngs-stats_stubs-linux-x86_64-R4.5-devel.rs | 0 ...bindings-stats_stubs-macos-aarch64-R4.3.rs | 0 ...bindings-stats_stubs-macos-aarch64-R4.4.rs | 0 ...gs-stats_stubs-macos-aarch64-R4.5-devel.rs | 0 .../bindings-stats_stubs-macos-x86_64-R4.4.rs | 0 ...indings-stats_stubs-windows-x86_64-R4.3.rs | 108 +- ...indings-stats_stubs-windows-x86_64-R4.4.rs | 55 + ...s-stats_stubs-windows-x86_64-R4.5-devel.rs | 108 +- 550 files changed, 40057 insertions(+), 30893 deletions(-) rename {src/bindings => bindings}/bindings-Altrep-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Altrep-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Altrep-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Altrep-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Applic-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Applic-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Applic-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Applic-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Applic-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Applic-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Applic-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Applic-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Applic-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Applic-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Applic-windows-x86_64-R4.3.rs (96%) rename {src/bindings => bindings}/bindings-Applic-windows-x86_64-R4.4.rs (96%) rename {src/bindings => bindings}/bindings-Applic-windows-x86_64-R4.5-devel.rs (96%) rename {src/bindings => bindings}/bindings-Arith-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Arith-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Arith-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Arith-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Arith-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Arith-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Arith-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Arith-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Arith-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Arith-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Arith-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Arith-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Arith-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-BLAS-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-BLAS-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-BLAS-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-BLAS-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Boolean-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Boolean-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Boolean-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Boolean-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Callbacks-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Callbacks-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Callbacks-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Callbacks-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Complex-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Complex-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Complex-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Complex-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Complex-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Complex-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Complex-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Complex-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Complex-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Complex-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Complex-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Complex-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Complex-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-Connections-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Connections-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Connections-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Connections-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Connections-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Connections-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Connections-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Connections-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Connections-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Connections-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Connections-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Connections-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Connections-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Constants-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Constants-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Constants-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Constants-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Constants-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Constants-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Constants-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Constants-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Constants-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Constants-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Constants-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Constants-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Constants-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-Error-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Error-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Error-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Error-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Error-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Error-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Error-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Error-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Error-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Error-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Error-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Error-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Error-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GetX11Image-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsDevice-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-GraphicsEngine-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Itermacros-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Itermacros-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Itermacros-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Itermacros-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-Lapack-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Lapack-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Lapack-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Lapack-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Linpack-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Linpack-windows-x86_64-R4.3.rs (96%) create mode 100644 bindings/bindings-Linpack-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Linpack-windows-x86_64-R4.5-devel.rs (96%) rename {src/bindings => bindings}/bindings-MathThreads-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-MathThreads-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-MathThreads-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-MathThreads-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Memory-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Memory-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Memory-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Memory-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Memory-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Memory-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Memory-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Memory-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Memory-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Memory-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Memory-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Memory-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Memory-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Parse-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Parse-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Parse-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Parse-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Parse-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Parse-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Parse-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Parse-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Parse-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Parse-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Parse-windows-x86_64-R4.3.rs (96%) create mode 100644 bindings/bindings-Parse-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Parse-windows-x86_64-R4.5-devel.rs (96%) rename {src/bindings => bindings}/bindings-Print-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Print-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Print-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Print-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Print-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Print-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Print-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Print-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Print-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Print-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Print-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Print-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Print-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-PrtUtil-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-QuartzDevice-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-R-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-R-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-R-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-R-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-R-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-R-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-R-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-R-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-RS-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RS-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RS-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RS-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RS-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RS-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RS-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RS-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RS-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RS-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RS-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-RS-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-RS-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-RStartup-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-RStartup-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-RStartup-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-RStartup-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rallocators-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rallocators-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Rallocators-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Rallocators-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Random-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Random-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Random-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Random-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Random-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Random-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Random-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Random-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Random-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Random-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Random-windows-x86_64-R4.3.rs (96%) create mode 100644 bindings/bindings-Random-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Random-windows-x86_64-R4.5-devel.rs (96%) rename {src/bindings => bindings}/bindings-Rconfig-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rconfig-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rconfig-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rconfig-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rdefines-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdefines-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rdefines-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rdefines-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rdynload-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rdynload-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Rdynload-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Rdynload-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rembedded-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rembedded-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rembedded-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rembedded-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Riconv-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Riconv-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Riconv-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Riconv-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rinterface-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinterface-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rinternals-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rinternals-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rinternals-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rmath-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rmath-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rmath-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rmath-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Rversion-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Rversion-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-Rversion-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-Rversion-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Utils-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Utils-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Utils-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Utils-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Utils-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Utils-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Utils-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Utils-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Utils-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Utils-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Utils-windows-x86_64-R4.3.rs (97%) create mode 100644 bindings/bindings-Utils-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Utils-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-Visibility-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-Visibility-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-Visibility-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-Visibility-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-eventloop-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-eventloop-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-ga-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-ga-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-ga-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-graphapp-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-graphapp-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-graphapp-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-iconv-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-iconv-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-iconv-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-libextern-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-libextern-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libextern-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-libextern-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-libextern-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libextern-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-libextern-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-libextern-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libextern-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-libextern-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libextern-windows-x86_64-R4.3.rs (98%) create mode 100644 bindings/bindings-libextern-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-libextern-windows-x86_64-R4.5-devel.rs (98%) rename {src/bindings => bindings}/bindings-libintl-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-libintl-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libintl-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-libintl-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-libintl-windows-x86_64-R4.3.rs (97%) rename {src/bindings => bindings}/bindings-libintl-windows-x86_64-R4.4.rs (97%) rename {src/bindings => bindings}/bindings-libintl-windows-x86_64-R4.5-devel.rs (97%) rename {src/bindings => bindings}/bindings-stats_package-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_package-windows-x86_64-R4.3.rs (95%) create mode 100644 bindings/bindings-stats_package-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-stats_package-windows-x86_64-R4.5-devel.rs (95%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-x86_64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-macos-aarch64-R4.3.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-macos-aarch64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-macos-x86_64-R4.4.rs (100%) rename {src/bindings => bindings}/bindings-stats_stubs-windows-x86_64-R4.3.rs (96%) create mode 100644 bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs rename {src/bindings => bindings}/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs (96%) diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs b/bindings/bindings-Altrep-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-aarch64-R4.3.rs rename to bindings/bindings-Altrep-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs b/bindings/bindings-Altrep-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-aarch64-R4.4.rs rename to bindings/bindings-Altrep-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Altrep-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs b/bindings/bindings-Altrep-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-x86_64-R4.3.rs rename to bindings/bindings-Altrep-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs b/bindings/bindings-Altrep-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-x86_64-R4.4.rs rename to bindings/bindings-Altrep-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Altrep-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs b/bindings/bindings-Altrep-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Altrep-macos-aarch64-R4.3.rs rename to bindings/bindings-Altrep-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs b/bindings/bindings-Altrep-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Altrep-macos-aarch64-R4.4.rs rename to bindings/bindings-Altrep-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Altrep-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs b/bindings/bindings-Altrep-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Altrep-macos-x86_64-R4.4.rs rename to bindings/bindings-Altrep-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs rename to bindings/bindings-Altrep-windows-x86_64-R4.3.rs index b6dd0f02..6e975873 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs rename to bindings/bindings-Altrep-windows-x86_64-R4.4.rs index 0c722857..fca6c6ae 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs index 0633a858..de636346 100644 --- a/src/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.3.rs b/bindings/bindings-Applic-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-aarch64-R4.3.rs rename to bindings/bindings-Applic-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.4.rs b/bindings/bindings-Applic-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-aarch64-R4.4.rs rename to bindings/bindings-Applic-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Applic-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.3.rs b/bindings/bindings-Applic-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-x86_64-R4.3.rs rename to bindings/bindings-Applic-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.4.rs b/bindings/bindings-Applic-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-x86_64-R4.4.rs rename to bindings/bindings-Applic-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Applic-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.3.rs b/bindings/bindings-Applic-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Applic-macos-aarch64-R4.3.rs rename to bindings/bindings-Applic-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.4.rs b/bindings/bindings-Applic-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Applic-macos-aarch64-R4.4.rs rename to bindings/bindings-Applic-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Applic-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Applic-macos-x86_64-R4.4.rs b/bindings/bindings-Applic-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Applic-macos-x86_64-R4.4.rs rename to bindings/bindings-Applic-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/bindings/bindings-Applic-windows-x86_64-R4.3.rs similarity index 96% rename from src/bindings/bindings-Applic-windows-x86_64-R4.3.rs rename to bindings/bindings-Applic-windows-x86_64-R4.3.rs index 45d9ce25..4ae4869e 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/bindings/bindings-Applic-windows-x86_64-R4.4.rs similarity index 96% rename from src/bindings/bindings-Applic-windows-x86_64-R4.4.rs rename to bindings/bindings-Applic-windows-x86_64-R4.4.rs index 35c10bb7..4b4c4bbf 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs similarity index 96% rename from src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs index 568f29d5..4057a304 100644 --- a/src/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.3.rs b/bindings/bindings-Arith-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-aarch64-R4.3.rs rename to bindings/bindings-Arith-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.4.rs b/bindings/bindings-Arith-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-aarch64-R4.4.rs rename to bindings/bindings-Arith-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Arith-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.3.rs b/bindings/bindings-Arith-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-x86_64-R4.3.rs rename to bindings/bindings-Arith-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.4.rs b/bindings/bindings-Arith-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-x86_64-R4.4.rs rename to bindings/bindings-Arith-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Arith-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.3.rs b/bindings/bindings-Arith-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Arith-macos-aarch64-R4.3.rs rename to bindings/bindings-Arith-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.4.rs b/bindings/bindings-Arith-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Arith-macos-aarch64-R4.4.rs rename to bindings/bindings-Arith-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Arith-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Arith-macos-x86_64-R4.4.rs b/bindings/bindings-Arith-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Arith-macos-x86_64-R4.4.rs rename to bindings/bindings-Arith-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs b/bindings/bindings-Arith-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Arith-windows-x86_64-R4.3.rs rename to bindings/bindings-Arith-windows-x86_64-R4.3.rs index ed820878..39f77f73 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.3.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/bindings/bindings-Arith-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Arith-windows-x86_64-R4.4.rs rename to bindings/bindings-Arith-windows-x86_64-R4.4.rs index d22610ac..40fe80bd 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs index af874a61..9764f1e2 100644 --- a/src/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs b/bindings/bindings-BLAS-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-aarch64-R4.3.rs rename to bindings/bindings-BLAS-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs b/bindings/bindings-BLAS-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-aarch64-R4.4.rs rename to bindings/bindings-BLAS-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs b/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-BLAS-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs b/bindings/bindings-BLAS-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-x86_64-R4.3.rs rename to bindings/bindings-BLAS-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs b/bindings/bindings-BLAS-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-x86_64-R4.4.rs rename to bindings/bindings-BLAS-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-BLAS-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs b/bindings/bindings-BLAS-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-BLAS-macos-aarch64-R4.3.rs rename to bindings/bindings-BLAS-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs b/bindings/bindings-BLAS-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-BLAS-macos-aarch64-R4.4.rs rename to bindings/bindings-BLAS-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs b/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-BLAS-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs b/bindings/bindings-BLAS-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-BLAS-macos-x86_64-R4.4.rs rename to bindings/bindings-BLAS-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs rename to bindings/bindings-BLAS-windows-x86_64-R4.3.rs index dc77951e..dda0cb61 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.3.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -1,889 +1,889 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs rename to bindings/bindings-BLAS-windows-x86_64-R4.4.rs index 92602d85..a97ec9c1 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.4.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -1,902 +1,902 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs index 79dd70af..a13101f6 100644 --- a/src/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -1,902 +1,902 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs b/bindings/bindings-Boolean-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-aarch64-R4.3.rs rename to bindings/bindings-Boolean-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs b/bindings/bindings-Boolean-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-aarch64-R4.4.rs rename to bindings/bindings-Boolean-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Boolean-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs b/bindings/bindings-Boolean-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-x86_64-R4.3.rs rename to bindings/bindings-Boolean-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs b/bindings/bindings-Boolean-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-x86_64-R4.4.rs rename to bindings/bindings-Boolean-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Boolean-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs b/bindings/bindings-Boolean-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Boolean-macos-aarch64-R4.3.rs rename to bindings/bindings-Boolean-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs b/bindings/bindings-Boolean-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Boolean-macos-aarch64-R4.4.rs rename to bindings/bindings-Boolean-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Boolean-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs b/bindings/bindings-Boolean-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Boolean-macos-x86_64-R4.4.rs rename to bindings/bindings-Boolean-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs rename to bindings/bindings-Boolean-windows-x86_64-R4.3.rs index b4ccc6bc..4d2256bf 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs rename to bindings/bindings-Boolean-windows-x86_64-R4.4.rs index 2baf8809..d8189fb7 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs index a8b3e38d..5d489bfb 100644 --- a/src/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-aarch64-R4.3.rs rename to bindings/bindings-Callbacks-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-aarch64-R4.4.rs rename to bindings/bindings-Callbacks-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Callbacks-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-x86_64-R4.3.rs rename to bindings/bindings-Callbacks-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-x86_64-R4.4.rs rename to bindings/bindings-Callbacks-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Callbacks-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Callbacks-macos-aarch64-R4.3.rs rename to bindings/bindings-Callbacks-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Callbacks-macos-aarch64-R4.4.rs rename to bindings/bindings-Callbacks-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Callbacks-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs b/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Callbacks-macos-x86_64-R4.4.rs rename to bindings/bindings-Callbacks-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs rename to bindings/bindings-Callbacks-windows-x86_64-R4.3.rs index f57ff68f..eb07234a 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs rename to bindings/bindings-Callbacks-windows-x86_64-R4.4.rs index 56d3f8e5..3745c2d8 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs index 88e6bdb3..f65782e5 100644 --- a/src/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.3.rs b/bindings/bindings-Complex-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-aarch64-R4.3.rs rename to bindings/bindings-Complex-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.4.rs b/bindings/bindings-Complex-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-aarch64-R4.4.rs rename to bindings/bindings-Complex-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Complex-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.3.rs b/bindings/bindings-Complex-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-x86_64-R4.3.rs rename to bindings/bindings-Complex-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.4.rs b/bindings/bindings-Complex-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-x86_64-R4.4.rs rename to bindings/bindings-Complex-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Complex-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.3.rs b/bindings/bindings-Complex-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Complex-macos-aarch64-R4.3.rs rename to bindings/bindings-Complex-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.4.rs b/bindings/bindings-Complex-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Complex-macos-aarch64-R4.4.rs rename to bindings/bindings-Complex-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Complex-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Complex-macos-x86_64-R4.4.rs b/bindings/bindings-Complex-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Complex-macos-x86_64-R4.4.rs rename to bindings/bindings-Complex-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs b/bindings/bindings-Complex-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Complex-windows-x86_64-R4.3.rs rename to bindings/bindings-Complex-windows-x86_64-R4.3.rs index cf2f17cc..69b4a9b3 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Complex-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/bindings/bindings-Complex-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..c01199fc --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs index 9fb46ffe..b086c2c2 100644 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.3.rs b/bindings/bindings-Connections-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-aarch64-R4.3.rs rename to bindings/bindings-Connections-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.4.rs b/bindings/bindings-Connections-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-aarch64-R4.4.rs rename to bindings/bindings-Connections-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Connections-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.3.rs b/bindings/bindings-Connections-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-x86_64-R4.3.rs rename to bindings/bindings-Connections-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.4.rs b/bindings/bindings-Connections-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-x86_64-R4.4.rs rename to bindings/bindings-Connections-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Connections-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.3.rs b/bindings/bindings-Connections-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Connections-macos-aarch64-R4.3.rs rename to bindings/bindings-Connections-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.4.rs b/bindings/bindings-Connections-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Connections-macos-aarch64-R4.4.rs rename to bindings/bindings-Connections-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Connections-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Connections-macos-x86_64-R4.4.rs b/bindings/bindings-Connections-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Connections-macos-x86_64-R4.4.rs rename to bindings/bindings-Connections-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/bindings/bindings-Connections-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Connections-windows-x86_64-R4.3.rs rename to bindings/bindings-Connections-windows-x86_64-R4.3.rs index ae8a5f80..c5f9317f 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -1,114 +1,114 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/bindings/bindings-Connections-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..604f6fe6 --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs index b06f0861..0171a192 100644 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -1,114 +1,114 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.3.rs b/bindings/bindings-Constants-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-aarch64-R4.3.rs rename to bindings/bindings-Constants-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.4.rs b/bindings/bindings-Constants-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-aarch64-R4.4.rs rename to bindings/bindings-Constants-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Constants-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.3.rs b/bindings/bindings-Constants-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-x86_64-R4.3.rs rename to bindings/bindings-Constants-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.4.rs b/bindings/bindings-Constants-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-x86_64-R4.4.rs rename to bindings/bindings-Constants-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Constants-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.3.rs b/bindings/bindings-Constants-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Constants-macos-aarch64-R4.3.rs rename to bindings/bindings-Constants-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.4.rs b/bindings/bindings-Constants-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Constants-macos-aarch64-R4.4.rs rename to bindings/bindings-Constants-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Constants-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Constants-macos-x86_64-R4.4.rs b/bindings/bindings-Constants-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Constants-macos-x86_64-R4.4.rs rename to bindings/bindings-Constants-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs b/bindings/bindings-Constants-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Constants-windows-x86_64-R4.3.rs rename to bindings/bindings-Constants-windows-x86_64-R4.3.rs index e9c9c0fa..d7292722 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Constants-windows-x86_64-R4.3.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/bindings/bindings-Constants-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..0ce5e96b --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs index 3fe2163d..499a1ae5 100644 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.3.rs b/bindings/bindings-Error-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Error-linux-aarch64-R4.3.rs rename to bindings/bindings-Error-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.4.rs b/bindings/bindings-Error-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Error-linux-aarch64-R4.4.rs rename to bindings/bindings-Error-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Error-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Error-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.3.rs b/bindings/bindings-Error-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Error-linux-x86_64-R4.3.rs rename to bindings/bindings-Error-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.4.rs b/bindings/bindings-Error-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Error-linux-x86_64-R4.4.rs rename to bindings/bindings-Error-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Error-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Error-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.3.rs b/bindings/bindings-Error-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Error-macos-aarch64-R4.3.rs rename to bindings/bindings-Error-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.4.rs b/bindings/bindings-Error-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Error-macos-aarch64-R4.4.rs rename to bindings/bindings-Error-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Error-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Error-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Error-macos-x86_64-R4.4.rs b/bindings/bindings-Error-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Error-macos-x86_64-R4.4.rs rename to bindings/bindings-Error-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.3.rs b/bindings/bindings-Error-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Error-windows-x86_64-R4.3.rs rename to bindings/bindings-Error-windows-x86_64-R4.3.rs index baba3c4e..556a7b36 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Error-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.4.rs b/bindings/bindings-Error-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..00bdffcc --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Error-windows-x86_64-R4.5-devel.rs index 87ab4422..bc0ee51c 100644 --- a/src/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs rename to bindings/bindings-GetX11Image-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs rename to bindings/bindings-GetX11Image-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-GetX11Image-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs rename to bindings/bindings-GetX11Image-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs rename to bindings/bindings-GetX11Image-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-GetX11Image-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs rename to bindings/bindings-GetX11Image-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs rename to bindings/bindings-GetX11Image-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-GetX11Image-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs b/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs rename to bindings/bindings-GetX11Image-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs rename to bindings/bindings-GraphicsDevice-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs rename to bindings/bindings-GraphicsDevice-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-GraphicsDevice-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs rename to bindings/bindings-GraphicsDevice-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs rename to bindings/bindings-GraphicsDevice-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-GraphicsDevice-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs rename to bindings/bindings-GraphicsDevice-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs rename to bindings/bindings-GraphicsDevice-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-GraphicsDevice-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs rename to bindings/bindings-GraphicsDevice-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs rename to bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs index d3c3f2a2..ebc291eb 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -1,368 +1,368 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..ff2f15f0 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -0,0 +1,368 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs index e462f49c..5324713c 100644 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -1,368 +1,368 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs rename to bindings/bindings-GraphicsEngine-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs rename to bindings/bindings-GraphicsEngine-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-GraphicsEngine-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs rename to bindings/bindings-GraphicsEngine-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs rename to bindings/bindings-GraphicsEngine-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-GraphicsEngine-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs rename to bindings/bindings-GraphicsEngine-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs rename to bindings/bindings-GraphicsEngine-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-GraphicsEngine-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs rename to bindings/bindings-GraphicsEngine-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs rename to bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs index 47c6a445..6a630b9d 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -1,800 +1,800 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..a90c7306 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -0,0 +1,800 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs index 8b86fe53..4c22d9b7 100644 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -1,800 +1,800 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-aarch64-R4.3.rs rename to bindings/bindings-Itermacros-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-aarch64-R4.4.rs rename to bindings/bindings-Itermacros-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Itermacros-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-x86_64-R4.3.rs rename to bindings/bindings-Itermacros-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-x86_64-R4.4.rs rename to bindings/bindings-Itermacros-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Itermacros-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Itermacros-macos-aarch64-R4.3.rs rename to bindings/bindings-Itermacros-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Itermacros-macos-aarch64-R4.4.rs rename to bindings/bindings-Itermacros-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Itermacros-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs b/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Itermacros-macos-x86_64-R4.4.rs rename to bindings/bindings-Itermacros-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs rename to bindings/bindings-Itermacros-windows-x86_64-R4.3.rs index a18c08ad..bc0abc04 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..b7f3a2ad --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs index 3c8d37eb..23191500 100644 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs b/bindings/bindings-Lapack-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-aarch64-R4.3.rs rename to bindings/bindings-Lapack-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs b/bindings/bindings-Lapack-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-aarch64-R4.4.rs rename to bindings/bindings-Lapack-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Lapack-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs b/bindings/bindings-Lapack-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-x86_64-R4.3.rs rename to bindings/bindings-Lapack-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs b/bindings/bindings-Lapack-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-x86_64-R4.4.rs rename to bindings/bindings-Lapack-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Lapack-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs b/bindings/bindings-Lapack-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Lapack-macos-aarch64-R4.3.rs rename to bindings/bindings-Lapack-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs b/bindings/bindings-Lapack-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Lapack-macos-aarch64-R4.4.rs rename to bindings/bindings-Lapack-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Lapack-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs b/bindings/bindings-Lapack-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Lapack-macos-x86_64-R4.4.rs rename to bindings/bindings-Lapack-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs rename to bindings/bindings-Lapack-windows-x86_64-R4.3.rs index 8984f1cb..f102caca 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -1,6100 +1,6100 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d4347fe8 --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -0,0 +1,6494 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs index 99e71b9e..e32ff7d6 100644 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -1,6494 +1,6494 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> *mut ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] - pub fn zlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - select: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> *mut ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] - pub fn zgetri_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] - pub fn zsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn ztpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] - pub fn zlanhp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zhpcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhecon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - vs: *mut Rcomplex, - ldvs: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - w: *mut f64, - z: *mut Rcomplex, - ldz: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs b/bindings/bindings-Linpack-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-aarch64-R4.3.rs rename to bindings/bindings-Linpack-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs b/bindings/bindings-Linpack-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-aarch64-R4.4.rs rename to bindings/bindings-Linpack-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Linpack-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs b/bindings/bindings-Linpack-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-x86_64-R4.3.rs rename to bindings/bindings-Linpack-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs b/bindings/bindings-Linpack-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-x86_64-R4.4.rs rename to bindings/bindings-Linpack-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Linpack-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs b/bindings/bindings-Linpack-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Linpack-macos-aarch64-R4.3.rs rename to bindings/bindings-Linpack-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs b/bindings/bindings-Linpack-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Linpack-macos-aarch64-R4.4.rs rename to bindings/bindings-Linpack-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Linpack-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs b/bindings/bindings-Linpack-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Linpack-macos-x86_64-R4.4.rs rename to bindings/bindings-Linpack-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs similarity index 96% rename from src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs rename to bindings/bindings-Linpack-windows-x86_64-R4.3.rs index b7b35556..c5f74e39 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs @@ -1,332 +1,332 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..33cacf16 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs similarity index 96% rename from src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs index 8caa3ee0..68f5604f 100644 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs @@ -1,332 +1,332 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-aarch64-R4.3.rs rename to bindings/bindings-MathThreads-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-aarch64-R4.4.rs rename to bindings/bindings-MathThreads-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-MathThreads-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-x86_64-R4.3.rs rename to bindings/bindings-MathThreads-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-x86_64-R4.4.rs rename to bindings/bindings-MathThreads-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-MathThreads-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-MathThreads-macos-aarch64-R4.3.rs rename to bindings/bindings-MathThreads-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-MathThreads-macos-aarch64-R4.4.rs rename to bindings/bindings-MathThreads-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-MathThreads-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs b/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-MathThreads-macos-x86_64-R4.4.rs rename to bindings/bindings-MathThreads-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs rename to bindings/bindings-MathThreads-windows-x86_64-R4.3.rs index 9ca40f03..ce5d8315 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs @@ -1,12 +1,12 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..69c2fae1 --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs index 509068f5..c0b78feb 100644 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs @@ -1,12 +1,12 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.3.rs b/bindings/bindings-Memory-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-aarch64-R4.3.rs rename to bindings/bindings-Memory-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.4.rs b/bindings/bindings-Memory-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-aarch64-R4.4.rs rename to bindings/bindings-Memory-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Memory-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.3.rs b/bindings/bindings-Memory-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-x86_64-R4.3.rs rename to bindings/bindings-Memory-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.4.rs b/bindings/bindings-Memory-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-x86_64-R4.4.rs rename to bindings/bindings-Memory-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Memory-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.3.rs b/bindings/bindings-Memory-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Memory-macos-aarch64-R4.3.rs rename to bindings/bindings-Memory-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.4.rs b/bindings/bindings-Memory-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Memory-macos-aarch64-R4.4.rs rename to bindings/bindings-Memory-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Memory-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Memory-macos-x86_64-R4.4.rs b/bindings/bindings-Memory-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Memory-macos-x86_64-R4.4.rs rename to bindings/bindings-Memory-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs b/bindings/bindings-Memory-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Memory-windows-x86_64-R4.3.rs rename to bindings/bindings-Memory-windows-x86_64-R4.3.rs index ce5febfe..9c09a31e 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Memory-windows-x86_64-R4.3.rs @@ -1,32 +1,32 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/bindings/bindings-Memory-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..4ea6dde0 --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs index cecf3a5a..0af0b3f6 100644 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs @@ -1,32 +1,32 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.3.rs b/bindings/bindings-Parse-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-aarch64-R4.3.rs rename to bindings/bindings-Parse-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.4.rs b/bindings/bindings-Parse-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-aarch64-R4.4.rs rename to bindings/bindings-Parse-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Parse-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.3.rs b/bindings/bindings-Parse-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-x86_64-R4.3.rs rename to bindings/bindings-Parse-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.4.rs b/bindings/bindings-Parse-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-x86_64-R4.4.rs rename to bindings/bindings-Parse-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Parse-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.3.rs b/bindings/bindings-Parse-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Parse-macos-aarch64-R4.3.rs rename to bindings/bindings-Parse-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.4.rs b/bindings/bindings-Parse-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Parse-macos-aarch64-R4.4.rs rename to bindings/bindings-Parse-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Parse-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Parse-macos-x86_64-R4.4.rs b/bindings/bindings-Parse-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Parse-macos-x86_64-R4.4.rs rename to bindings/bindings-Parse-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/bindings/bindings-Parse-windows-x86_64-R4.3.rs similarity index 96% rename from src/bindings/bindings-Parse-windows-x86_64-R4.3.rs rename to bindings/bindings-Parse-windows-x86_64-R4.3.rs index 74dc2957..e7979fa0 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -1,26 +1,26 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/bindings/bindings-Parse-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..8e7de456 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs similarity index 96% rename from src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs index f7772bf1..b1f03906 100644 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -1,26 +1,26 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.3.rs b/bindings/bindings-Print-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Print-linux-aarch64-R4.3.rs rename to bindings/bindings-Print-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.4.rs b/bindings/bindings-Print-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Print-linux-aarch64-R4.4.rs rename to bindings/bindings-Print-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Print-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Print-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.3.rs b/bindings/bindings-Print-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Print-linux-x86_64-R4.3.rs rename to bindings/bindings-Print-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.4.rs b/bindings/bindings-Print-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Print-linux-x86_64-R4.4.rs rename to bindings/bindings-Print-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Print-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Print-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.3.rs b/bindings/bindings-Print-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Print-macos-aarch64-R4.3.rs rename to bindings/bindings-Print-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.4.rs b/bindings/bindings-Print-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Print-macos-aarch64-R4.4.rs rename to bindings/bindings-Print-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Print-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Print-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Print-macos-x86_64-R4.4.rs b/bindings/bindings-Print-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Print-macos-x86_64-R4.4.rs rename to bindings/bindings-Print-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.3.rs b/bindings/bindings-Print-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Print-windows-x86_64-R4.3.rs rename to bindings/bindings-Print-windows-x86_64-R4.3.rs index 220cd935..fb7947c0 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Print-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.4.rs b/bindings/bindings-Print-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..0b732c53 --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Print-windows-x86_64-R4.5-devel.rs index c822e2a2..2f5a5046 100644 --- a/src/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs rename to bindings/bindings-PrtUtil-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs rename to bindings/bindings-PrtUtil-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-PrtUtil-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs rename to bindings/bindings-PrtUtil-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs rename to bindings/bindings-PrtUtil-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-PrtUtil-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs rename to bindings/bindings-PrtUtil-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs rename to bindings/bindings-PrtUtil-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-PrtUtil-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs rename to bindings/bindings-PrtUtil-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs rename to bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs index 0894ff33..d92858e8 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -1,111 +1,111 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..2fa7f234 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs index 37d4e9c0..bd488adf 100644 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -1,111 +1,111 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs rename to bindings/bindings-QuartzDevice-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs rename to bindings/bindings-QuartzDevice-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-QuartzDevice-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs rename to bindings/bindings-QuartzDevice-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs rename to bindings/bindings-QuartzDevice-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-QuartzDevice-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs rename to bindings/bindings-QuartzDevice-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs rename to bindings/bindings-QuartzDevice-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-QuartzDevice-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs b/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs rename to bindings/bindings-QuartzDevice-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-R-linux-aarch64-R4.3.rs b/bindings/bindings-R-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-R-linux-aarch64-R4.3.rs rename to bindings/bindings-R-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-R-linux-aarch64-R4.4.rs b/bindings/bindings-R-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-R-linux-aarch64-R4.4.rs rename to bindings/bindings-R-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs b/bindings/bindings-R-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-R-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-R-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-R-linux-x86_64-R4.3.rs b/bindings/bindings-R-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-R-linux-x86_64-R4.3.rs rename to bindings/bindings-R-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-R-linux-x86_64-R4.4.rs b/bindings/bindings-R-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-R-linux-x86_64-R4.4.rs rename to bindings/bindings-R-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs b/bindings/bindings-R-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-R-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-R-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-R-macos-aarch64-R4.3.rs b/bindings/bindings-R-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-R-macos-aarch64-R4.3.rs rename to bindings/bindings-R-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-R-macos-aarch64-R4.4.rs b/bindings/bindings-R-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-R-macos-aarch64-R4.4.rs rename to bindings/bindings-R-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs b/bindings/bindings-R-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-R-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-R-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-R-macos-x86_64-R4.4.rs b/bindings/bindings-R-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-R-macos-x86_64-R4.4.rs rename to bindings/bindings-R-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-R-windows-x86_64-R4.3.rs b/bindings/bindings-R-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-R-windows-x86_64-R4.3.rs rename to bindings/bindings-R-windows-x86_64-R4.3.rs index 2f552e51..e9b0fa5b 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.3.rs +++ b/bindings/bindings-R-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/src/bindings/bindings-R-windows-x86_64-R4.4.rs b/bindings/bindings-R-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-R-windows-x86_64-R4.4.rs rename to bindings/bindings-R-windows-x86_64-R4.4.rs index 2fb3b785..0a494ee4 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.4.rs +++ b/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-R-windows-x86_64-R4.5-devel.rs index 9ad28830..1de95977 100644 --- a/src/bindings/bindings-R-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.3.rs b/bindings/bindings-RS-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RS-linux-aarch64-R4.3.rs rename to bindings/bindings-RS-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.4.rs b/bindings/bindings-RS-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RS-linux-aarch64-R4.4.rs rename to bindings/bindings-RS-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs b/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RS-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-RS-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.3.rs b/bindings/bindings-RS-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RS-linux-x86_64-R4.3.rs rename to bindings/bindings-RS-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.4.rs b/bindings/bindings-RS-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RS-linux-x86_64-R4.4.rs rename to bindings/bindings-RS-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs b/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RS-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-RS-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.3.rs b/bindings/bindings-RS-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RS-macos-aarch64-R4.3.rs rename to bindings/bindings-RS-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.4.rs b/bindings/bindings-RS-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RS-macos-aarch64-R4.4.rs rename to bindings/bindings-RS-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs b/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RS-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-RS-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RS-macos-x86_64-R4.4.rs b/bindings/bindings-RS-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RS-macos-x86_64-R4.4.rs rename to bindings/bindings-RS-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.3.rs b/bindings/bindings-RS-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-RS-windows-x86_64-R4.3.rs rename to bindings/bindings-RS-windows-x86_64-R4.3.rs index 611f96e8..51675546 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.3.rs +++ b/bindings/bindings-RS-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.4.rs b/bindings/bindings-RS-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..deeb6bf5 --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-RS-windows-x86_64-R4.5-devel.rs index 28977669..29a487a0 100644 --- a/src/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs b/bindings/bindings-RStartup-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-aarch64-R4.3.rs rename to bindings/bindings-RStartup-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs b/bindings/bindings-RStartup-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-aarch64-R4.4.rs rename to bindings/bindings-RStartup-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs b/bindings/bindings-RStartup-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-x86_64-R4.3.rs rename to bindings/bindings-RStartup-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs b/bindings/bindings-RStartup-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-x86_64-R4.4.rs rename to bindings/bindings-RStartup-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs b/bindings/bindings-RStartup-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-RStartup-macos-aarch64-R4.3.rs rename to bindings/bindings-RStartup-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs b/bindings/bindings-RStartup-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RStartup-macos-aarch64-R4.4.rs rename to bindings/bindings-RStartup-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs b/bindings/bindings-RStartup-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-RStartup-macos-x86_64-R4.4.rs rename to bindings/bindings-RStartup-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs rename to bindings/bindings-RStartup-windows-x86_64-R4.3.rs index 13b73990..6687a650 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.3.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -1,234 +1,234 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..26bed9cb --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -0,0 +1,235 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs index df3b0b09..1493fe07 100644 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -1,235 +1,235 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-aarch64-R4.3.rs rename to bindings/bindings-Rallocators-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-aarch64-R4.4.rs rename to bindings/bindings-Rallocators-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rallocators-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-x86_64-R4.3.rs rename to bindings/bindings-Rallocators-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-x86_64-R4.4.rs rename to bindings/bindings-Rallocators-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rallocators-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rallocators-macos-aarch64-R4.3.rs rename to bindings/bindings-Rallocators-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rallocators-macos-aarch64-R4.4.rs rename to bindings/bindings-Rallocators-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rallocators-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs b/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rallocators-macos-x86_64-R4.4.rs rename to bindings/bindings-Rallocators-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs rename to bindings/bindings-Rallocators-windows-x86_64-R4.3.rs index d57b4bee..7c877ff9 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs @@ -1,27 +1,27 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..e630ca92 --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs index 5f4b7ae2..e492df72 100644 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs @@ -1,27 +1,27 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.3.rs b/bindings/bindings-Random-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Random-linux-aarch64-R4.3.rs rename to bindings/bindings-Random-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.4.rs b/bindings/bindings-Random-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Random-linux-aarch64-R4.4.rs rename to bindings/bindings-Random-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Random-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Random-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.3.rs b/bindings/bindings-Random-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Random-linux-x86_64-R4.3.rs rename to bindings/bindings-Random-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.4.rs b/bindings/bindings-Random-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Random-linux-x86_64-R4.4.rs rename to bindings/bindings-Random-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Random-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Random-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.3.rs b/bindings/bindings-Random-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Random-macos-aarch64-R4.3.rs rename to bindings/bindings-Random-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.4.rs b/bindings/bindings-Random-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Random-macos-aarch64-R4.4.rs rename to bindings/bindings-Random-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Random-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Random-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Random-macos-x86_64-R4.4.rs b/bindings/bindings-Random-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Random-macos-x86_64-R4.4.rs rename to bindings/bindings-Random-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.3.rs b/bindings/bindings-Random-windows-x86_64-R4.3.rs similarity index 96% rename from src/bindings/bindings-Random-windows-x86_64-R4.3.rs rename to bindings/bindings-Random-windows-x86_64-R4.3.rs index acbcef3c..6563a435 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Random-windows-x86_64-R4.3.rs @@ -1,54 +1,54 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.4.rs b/bindings/bindings-Random-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..cc7ac92c --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs similarity index 96% rename from src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Random-windows-x86_64-R4.5-devel.rs index 63b30a92..5ef61af3 100644 --- a/src/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs @@ -1,54 +1,54 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-aarch64-R4.3.rs rename to bindings/bindings-Rconfig-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-aarch64-R4.4.rs rename to bindings/bindings-Rconfig-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rconfig-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-x86_64-R4.3.rs rename to bindings/bindings-Rconfig-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-x86_64-R4.4.rs rename to bindings/bindings-Rconfig-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rconfig-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rconfig-macos-aarch64-R4.3.rs rename to bindings/bindings-Rconfig-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rconfig-macos-aarch64-R4.4.rs rename to bindings/bindings-Rconfig-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rconfig-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs b/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rconfig-macos-x86_64-R4.4.rs rename to bindings/bindings-Rconfig-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs rename to bindings/bindings-Rconfig-windows-x86_64-R4.3.rs index c8a2b4c7..6cee0a76 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs rename to bindings/bindings-Rconfig-windows-x86_64-R4.4.rs index 0b870b1d..e67b2257 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs index 8331e50c..7c0a895c 100644 --- a/src/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-aarch64-R4.3.rs rename to bindings/bindings-Rdefines-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-aarch64-R4.4.rs rename to bindings/bindings-Rdefines-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rdefines-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-x86_64-R4.3.rs rename to bindings/bindings-Rdefines-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-x86_64-R4.4.rs rename to bindings/bindings-Rdefines-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rdefines-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdefines-macos-aarch64-R4.3.rs rename to bindings/bindings-Rdefines-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdefines-macos-aarch64-R4.4.rs rename to bindings/bindings-Rdefines-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rdefines-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs b/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdefines-macos-x86_64-R4.4.rs rename to bindings/bindings-Rdefines-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs rename to bindings/bindings-Rdefines-windows-x86_64-R4.3.rs index 7e5b97a6..7a86d989 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs rename to bindings/bindings-Rdefines-windows-x86_64-R4.4.rs index 3451dced..2909f8af 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs index 93077194..55d2642c 100644 --- a/src/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-aarch64-R4.3.rs rename to bindings/bindings-Rdynload-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-aarch64-R4.4.rs rename to bindings/bindings-Rdynload-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rdynload-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-x86_64-R4.3.rs rename to bindings/bindings-Rdynload-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-x86_64-R4.4.rs rename to bindings/bindings-Rdynload-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rdynload-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rdynload-macos-aarch64-R4.3.rs rename to bindings/bindings-Rdynload-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdynload-macos-aarch64-R4.4.rs rename to bindings/bindings-Rdynload-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rdynload-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs b/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rdynload-macos-x86_64-R4.4.rs rename to bindings/bindings-Rdynload-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs rename to bindings/bindings-Rdynload-windows-x86_64-R4.3.rs index 63c75a4f..397631f3 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -1,89 +1,89 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..989bacba --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -0,0 +1,89 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs index cae7027d..0507aa7a 100644 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -1,91 +1,91 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs rename to bindings/bindings-Rembedded-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs rename to bindings/bindings-Rembedded-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs rename to bindings/bindings-Rembedded-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs rename to bindings/bindings-Rembedded-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs rename to bindings/bindings-Rembedded-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs rename to bindings/bindings-Rembedded-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs rename to bindings/bindings-Rembedded-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs rename to bindings/bindings-Rembedded-windows-x86_64-R4.3.rs index 1b6b6c10..4d11c2b2 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs rename to bindings/bindings-Rembedded-windows-x86_64-R4.4.rs index cd355de0..82907fb2 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs index 550c043e..17b1a3ae 100644 --- a/src/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs b/bindings/bindings-Riconv-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-aarch64-R4.3.rs rename to bindings/bindings-Riconv-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs b/bindings/bindings-Riconv-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-aarch64-R4.4.rs rename to bindings/bindings-Riconv-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Riconv-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs b/bindings/bindings-Riconv-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-x86_64-R4.3.rs rename to bindings/bindings-Riconv-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs b/bindings/bindings-Riconv-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-x86_64-R4.4.rs rename to bindings/bindings-Riconv-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Riconv-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs b/bindings/bindings-Riconv-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Riconv-macos-aarch64-R4.3.rs rename to bindings/bindings-Riconv-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs b/bindings/bindings-Riconv-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Riconv-macos-aarch64-R4.4.rs rename to bindings/bindings-Riconv-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Riconv-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs b/bindings/bindings-Riconv-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Riconv-macos-x86_64-R4.4.rs rename to bindings/bindings-Riconv-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs rename to bindings/bindings-Riconv-windows-x86_64-R4.3.rs index dd9101ba..92b535f8 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs @@ -1,22 +1,22 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..d7fee410 --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs index 056c1235..422da31d 100644 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs @@ -1,22 +1,22 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs rename to bindings/bindings-Rinterface-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs rename to bindings/bindings-Rinterface-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs rename to bindings/bindings-Rinterface-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs rename to bindings/bindings-Rinterface-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs rename to bindings/bindings-Rinterface-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs rename to bindings/bindings-Rinterface-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs rename to bindings/bindings-Rinterface-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs rename to bindings/bindings-Rinternals-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs rename to bindings/bindings-Rinternals-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs rename to bindings/bindings-Rinternals-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs rename to bindings/bindings-Rinternals-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs rename to bindings/bindings-Rinternals-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs rename to bindings/bindings-Rinternals-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs rename to bindings/bindings-Rinternals-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs rename to bindings/bindings-Rinternals-windows-x86_64-R4.3.rs index 970632cf..5a2d3971 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -1,973 +1,973 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "stuff that probably shouldn't be in the API but is getting used"] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs rename to bindings/bindings-Rinternals-windows-x86_64-R4.4.rs index 0afd0d8e..9d06a735 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -1,976 +1,976 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs index c1e8e350..096d5488 100644 --- a/src/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -1,986 +1,986 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - pub fn CLEAR_ATTRIB(x: SEXP); - pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; - pub fn R_ClosureBody(arg1: SEXP) -> SEXP; - pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; - pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; - pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR(x: SEXP) -> *mut SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_FORMALS(x: SEXP, v: SEXP); + pub fn SET_BODY(x: SEXP, v: SEXP); + pub fn SET_CLOENV(x: SEXP, v: SEXP); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn SYMVALUE(x: SEXP) -> SEXP; + pub fn INTERNAL(x: SEXP) -> SEXP; + pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Environment Access Functions"] + pub fn FRAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn HASHTAB(x: SEXP) -> SEXP; + pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "Promise Access Functions"] + pub fn PRCODE(x: SEXP) -> SEXP; + pub fn PRENV(x: SEXP) -> SEXP; + pub fn PRVALUE(x: SEXP) -> SEXP; + pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_nchar( + string: SEXP, + type_: nchar_type, + allowNA: Rboolean, + keepNA: Rboolean, + msg_name: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn REAL0(x: SEXP) -> *mut f64; + pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] + pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_GROWABLE_BIT(x: SEXP); +} diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs b/bindings/bindings-Rmath-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-aarch64-R4.3.rs rename to bindings/bindings-Rmath-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs b/bindings/bindings-Rmath-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-aarch64-R4.4.rs rename to bindings/bindings-Rmath-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rmath-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs b/bindings/bindings-Rmath-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-x86_64-R4.3.rs rename to bindings/bindings-Rmath-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs b/bindings/bindings-Rmath-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-x86_64-R4.4.rs rename to bindings/bindings-Rmath-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rmath-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs b/bindings/bindings-Rmath-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rmath-macos-aarch64-R4.3.rs rename to bindings/bindings-Rmath-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs b/bindings/bindings-Rmath-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rmath-macos-aarch64-R4.4.rs rename to bindings/bindings-Rmath-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rmath-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs b/bindings/bindings-Rmath-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rmath-macos-x86_64-R4.4.rs rename to bindings/bindings-Rmath-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs rename to bindings/bindings-Rmath-windows-x86_64-R4.3.rs index a6e41ef9..aec159ca 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs @@ -1,538 +1,538 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs rename to bindings/bindings-Rmath-windows-x86_64-R4.4.rs index 7c5450ed..8eba0c68 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -1,539 +1,539 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs index d8affb65..4325e875 100644 --- a/src/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs @@ -1,539 +1,539 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs b/bindings/bindings-Rversion-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-aarch64-R4.3.rs rename to bindings/bindings-Rversion-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs b/bindings/bindings-Rversion-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-aarch64-R4.4.rs rename to bindings/bindings-Rversion-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Rversion-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs b/bindings/bindings-Rversion-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-x86_64-R4.3.rs rename to bindings/bindings-Rversion-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs b/bindings/bindings-Rversion-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-x86_64-R4.4.rs rename to bindings/bindings-Rversion-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Rversion-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs b/bindings/bindings-Rversion-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Rversion-macos-aarch64-R4.3.rs rename to bindings/bindings-Rversion-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs b/bindings/bindings-Rversion-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rversion-macos-aarch64-R4.4.rs rename to bindings/bindings-Rversion-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Rversion-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs b/bindings/bindings-Rversion-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Rversion-macos-x86_64-R4.4.rs rename to bindings/bindings-Rversion-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs rename to bindings/bindings-Rversion-windows-x86_64-R4.3.rs index 46aeb044..4a8bb77c 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs rename to bindings/bindings-Rversion-windows-x86_64-R4.4.rs index 9646ccc6..24ec91b2 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_VERSION: u32 = 263169; -pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.1\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"14\0"; -pub const R_SVN_REVISION: u32 = 86737; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs index 7cd4c74b..87029a90 100644 --- a/src/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"07\0"; -pub const R_DAY: &[u8; 3] = b"18\0"; -pub const R_SVN_REVISION: u32 = 86905; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.3.rs b/bindings/bindings-Utils-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-aarch64-R4.3.rs rename to bindings/bindings-Utils-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.4.rs b/bindings/bindings-Utils-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-aarch64-R4.4.rs rename to bindings/bindings-Utils-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.3.rs b/bindings/bindings-Utils-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-x86_64-R4.3.rs rename to bindings/bindings-Utils-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.4.rs b/bindings/bindings-Utils-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-x86_64-R4.4.rs rename to bindings/bindings-Utils-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.3.rs b/bindings/bindings-Utils-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Utils-macos-aarch64-R4.3.rs rename to bindings/bindings-Utils-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.4.rs b/bindings/bindings-Utils-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Utils-macos-aarch64-R4.4.rs rename to bindings/bindings-Utils-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Utils-macos-x86_64-R4.4.rs b/bindings/bindings-Utils-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Utils-macos-x86_64-R4.4.rs rename to bindings/bindings-Utils-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/bindings/bindings-Utils-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-Utils-windows-x86_64-R4.3.rs rename to bindings/bindings-Utils-windows-x86_64-R4.3.rs index 7b84d0d7..95e02f68 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -1,174 +1,174 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/bindings/bindings-Utils-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..91663e66 --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -0,0 +1,177 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs index 6e275342..d3f723db 100644 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -1,160 +1,160 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "not API"] - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs b/bindings/bindings-Visibility-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-aarch64-R4.3.rs rename to bindings/bindings-Visibility-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs b/bindings/bindings-Visibility-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-aarch64-R4.4.rs rename to bindings/bindings-Visibility-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-Visibility-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs b/bindings/bindings-Visibility-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-x86_64-R4.3.rs rename to bindings/bindings-Visibility-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs b/bindings/bindings-Visibility-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-x86_64-R4.4.rs rename to bindings/bindings-Visibility-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-Visibility-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs b/bindings/bindings-Visibility-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-Visibility-macos-aarch64-R4.3.rs rename to bindings/bindings-Visibility-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs b/bindings/bindings-Visibility-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Visibility-macos-aarch64-R4.4.rs rename to bindings/bindings-Visibility-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-Visibility-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs b/bindings/bindings-Visibility-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-Visibility-macos-x86_64-R4.4.rs rename to bindings/bindings-Visibility-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs rename to bindings/bindings-Visibility-windows-x86_64-R4.3.rs index ddd2233f..9ee8c9e5 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..6c794eca --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs index b2b22575..1c81de0f 100644 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs b/bindings/bindings-eventloop-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-aarch64-R4.3.rs rename to bindings/bindings-eventloop-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs b/bindings/bindings-eventloop-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-aarch64-R4.4.rs rename to bindings/bindings-eventloop-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs b/bindings/bindings-eventloop-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-x86_64-R4.3.rs rename to bindings/bindings-eventloop-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs b/bindings/bindings-eventloop-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-x86_64-R4.4.rs rename to bindings/bindings-eventloop-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs b/bindings/bindings-eventloop-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-eventloop-macos-aarch64-R4.3.rs rename to bindings/bindings-eventloop-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs b/bindings/bindings-eventloop-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-eventloop-macos-aarch64-R4.4.rs rename to bindings/bindings-eventloop-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs b/bindings/bindings-eventloop-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-eventloop-macos-x86_64-R4.4.rs rename to bindings/bindings-eventloop-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs b/bindings/bindings-ga-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-ga-windows-x86_64-R4.3.rs rename to bindings/bindings-ga-windows-x86_64-R4.3.rs index 4bcf1a47..4b2133f5 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.3.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -1,387 +1,387 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct gui_obj { - pub kind: ::std::os::raw::c_int, -} -pub type objptr = *mut gui_obj; -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn setuserfilterW(arg1: *const wchar_t); - pub fn askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs b/bindings/bindings-ga-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-ga-windows-x86_64-R4.4.rs rename to bindings/bindings-ga-windows-x86_64-R4.4.rs index f95047a7..096f3f2e 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.4.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -1,388 +1,388 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_setuserfilterW(arg1: *const wchar_t); - pub fn GA_askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn GA_askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn GA_askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn GA_gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-ga-windows-x86_64-R4.5-devel.rs index f6f37219..55dbe5fa 100644 --- a/src/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -1,388 +1,388 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_setuserfilterW(arg1: *const wchar_t); - pub fn GA_askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn GA_askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn GA_askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn GA_gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs rename to bindings/bindings-graphapp-windows-x86_64-R4.3.rs index ea932877..99f43047 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.3.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs @@ -1,632 +1,632 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const D: u32 = 10; -pub const DornotS: u32 = 11; -pub const S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct gui_obj { - pub kind: ::std::os::raw::c_int, -} -pub type objptr = *mut gui_obj; -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs rename to bindings/bindings-graphapp-windows-x86_64-R4.4.rs index 1ce6f32b..96b48418 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.4.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -1,634 +1,634 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs index 30954952..04b7f92b 100644 --- a/src/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs @@ -1,634 +1,634 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs b/bindings/bindings-iconv-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-iconv-windows-x86_64-R4.3.rs rename to bindings/bindings-iconv-windows-x86_64-R4.3.rs index 6812df3a..383d4144 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.3.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.3.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/bindings/bindings-iconv-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-iconv-windows-x86_64-R4.4.rs rename to bindings/bindings-iconv-windows-x86_64-R4.4.rs index dac27271..7f19876d 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.4.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs index 1de3814d..10035d4c 100644 --- a/src/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.3.rs b/bindings/bindings-libextern-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-aarch64-R4.3.rs rename to bindings/bindings-libextern-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.4.rs b/bindings/bindings-libextern-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-aarch64-R4.4.rs rename to bindings/bindings-libextern-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs b/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-libextern-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.3.rs b/bindings/bindings-libextern-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-x86_64-R4.3.rs rename to bindings/bindings-libextern-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.4.rs b/bindings/bindings-libextern-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-x86_64-R4.4.rs rename to bindings/bindings-libextern-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs b/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-libextern-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.3.rs b/bindings/bindings-libextern-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-libextern-macos-aarch64-R4.3.rs rename to bindings/bindings-libextern-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.4.rs b/bindings/bindings-libextern-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libextern-macos-aarch64-R4.4.rs rename to bindings/bindings-libextern-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs b/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-libextern-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-libextern-macos-x86_64-R4.4.rs b/bindings/bindings-libextern-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libextern-macos-x86_64-R4.4.rs rename to bindings/bindings-libextern-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs b/bindings/bindings-libextern-windows-x86_64-R4.3.rs similarity index 98% rename from src/bindings/bindings-libextern-windows-x86_64-R4.3.rs rename to bindings/bindings-libextern-windows-x86_64-R4.3.rs index ddd2233f..9ee8c9e5 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.3.rs +++ b/bindings/bindings-libextern-windows-x86_64-R4.3.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/bindings/bindings-libextern-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..6c794eca --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs similarity index 98% rename from src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs index b2b22575..1c81de0f 100644 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.3.rs b/bindings/bindings-libintl-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-libintl-macos-aarch64-R4.3.rs rename to bindings/bindings-libintl-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.4.rs b/bindings/bindings-libintl-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libintl-macos-aarch64-R4.4.rs rename to bindings/bindings-libintl-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs b/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-libintl-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-libintl-macos-x86_64-R4.4.rs b/bindings/bindings-libintl-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-libintl-macos-x86_64-R4.4.rs rename to bindings/bindings-libintl-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs b/bindings/bindings-libintl-windows-x86_64-R4.3.rs similarity index 97% rename from src/bindings/bindings-libintl-windows-x86_64-R4.3.rs rename to bindings/bindings-libintl-windows-x86_64-R4.3.rs index 9229cd48..aa72f136 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.3.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.3.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/bindings/bindings-libintl-windows-x86_64-R4.4.rs similarity index 97% rename from src/bindings/bindings-libintl-windows-x86_64-R4.4.rs rename to bindings/bindings-libintl-windows-x86_64-R4.4.rs index 2fb41fca..059158e5 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.4.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs similarity index 97% rename from src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs index 26b15369..d4078172 100644 --- a/src/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs b/bindings/bindings-stats_package-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-aarch64-R4.3.rs rename to bindings/bindings-stats_package-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs b/bindings/bindings-stats_package-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-aarch64-R4.4.rs rename to bindings/bindings-stats_package-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs b/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-stats_package-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs b/bindings/bindings-stats_package-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-x86_64-R4.3.rs rename to bindings/bindings-stats_package-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs b/bindings/bindings-stats_package-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-x86_64-R4.4.rs rename to bindings/bindings-stats_package-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs b/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-stats_package-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs b/bindings/bindings-stats_package-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_package-macos-aarch64-R4.3.rs rename to bindings/bindings-stats_package-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs b/bindings/bindings-stats_package-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_package-macos-aarch64-R4.4.rs rename to bindings/bindings-stats_package-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs b/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-stats_package-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs b/bindings/bindings-stats_package-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_package-macos-x86_64-R4.4.rs rename to bindings/bindings-stats_package-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs similarity index 95% rename from src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs rename to bindings/bindings-stats_package-windows-x86_64-R4.3.rs index e828f559..7386b31c 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.3.rs +++ b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs @@ -1,118 +1,118 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..10d76b2a --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs similarity index 95% rename from src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs index d5be2b1b..ef85dbaa 100644 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs @@ -1,118 +1,118 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs rename to bindings/bindings-stats_stubs-linux-aarch64-R4.3.rs diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs rename to bindings/bindings-stats_stubs-linux-aarch64-R4.4.rs diff --git a/src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs rename to bindings/bindings-stats_stubs-linux-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs rename to bindings/bindings-stats_stubs-linux-x86_64-R4.3.rs diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs rename to bindings/bindings-stats_stubs-linux-x86_64-R4.4.rs diff --git a/src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs rename to bindings/bindings-stats_stubs-linux-x86_64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs rename to bindings/bindings-stats_stubs-macos-aarch64-R4.3.rs diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs rename to bindings/bindings-stats_stubs-macos-aarch64-R4.4.rs diff --git a/src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs rename to bindings/bindings-stats_stubs-macos-aarch64-R4.5-devel.rs diff --git a/src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs similarity index 100% rename from src/bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs rename to bindings/bindings-stats_stubs-macos-x86_64-R4.4.rs diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs similarity index 96% rename from src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs rename to bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs index 5bc8c7cc..0ebc993f 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs @@ -1,55 +1,55 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs new file mode 100644 index 00000000..12ed1989 --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs similarity index 96% rename from src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs rename to bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs index 457ca57d..ff2ed929 100644 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs @@ -1,55 +1,55 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} From 024007c18175a92de6a2953b1e87ec8549695e30 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 14:19:36 +0200 Subject: [PATCH 44/50] [generate bindings] From 88c7a0d8e6c693ce12ed838c1f5add6bac5f90ac Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sat, 20 Jul 2024 12:29:33 +0000 Subject: [PATCH 45/50] Update bindings [skip ci] --- .../bindings-Altrep-linux-aarch64-R4.2.rs | 241 + bindings/bindings-Altrep-linux-x86_64-R4.2.rs | 241 + .../bindings-Altrep-macos-aarch64-R4.2.rs | 241 + bindings/bindings-Altrep-macos-x86_64-R4.2.rs | 241 + .../bindings-Altrep-windows-x86_64-R4.2.rs | 261 + .../bindings-Altrep-windows-x86_64-R4.3.rs | 640 +- .../bindings-Altrep-windows-x86_64-R4.4.rs | 640 +- ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 640 +- .../bindings-Applic-linux-aarch64-R4.2.rs | 272 + bindings/bindings-Applic-linux-x86_64-R4.2.rs | 272 + .../bindings-Applic-macos-aarch64-R4.2.rs | 274 + bindings/bindings-Applic-macos-x86_64-R4.2.rs | 274 + .../bindings-Applic-windows-x86_64-R4.2.rs | 282 + .../bindings-Applic-windows-x86_64-R4.3.rs | 562 +- .../bindings-Applic-windows-x86_64-R4.4.rs | 562 +- ...ndings-Applic-windows-x86_64-R4.5-devel.rs | 562 +- bindings/bindings-Arith-linux-aarch64-R4.2.rs | 24 + bindings/bindings-Arith-linux-x86_64-R4.2.rs | 24 + bindings/bindings-Arith-macos-aarch64-R4.2.rs | 24 + bindings/bindings-Arith-macos-x86_64-R4.2.rs | 24 + .../bindings-Arith-windows-x86_64-R4.2.rs | 24 + .../bindings-Arith-windows-x86_64-R4.3.rs | 46 +- .../bindings-Arith-windows-x86_64-R4.4.rs | 46 +- ...indings-Arith-windows-x86_64-R4.5-devel.rs | 46 +- bindings/bindings-BLAS-linux-aarch64-R4.2.rs | 718 + bindings/bindings-BLAS-linux-x86_64-R4.2.rs | 718 + bindings/bindings-BLAS-macos-aarch64-R4.2.rs | 742 + bindings/bindings-BLAS-macos-x86_64-R4.2.rs | 742 + bindings/bindings-BLAS-windows-x86_64-R4.2.rs | 748 + bindings/bindings-BLAS-windows-x86_64-R4.3.rs | 1776 +-- bindings/bindings-BLAS-windows-x86_64-R4.4.rs | 1802 +-- ...bindings-BLAS-windows-x86_64-R4.5-devel.rs | 1802 +-- .../bindings-Boolean-linux-aarch64-R4.2.rs | 16 + .../bindings-Boolean-linux-x86_64-R4.2.rs | 16 + .../bindings-Boolean-macos-aarch64-R4.2.rs | 16 + .../bindings-Boolean-macos-x86_64-R4.2.rs | 16 + .../bindings-Boolean-windows-x86_64-R4.2.rs | 16 + .../bindings-Boolean-windows-x86_64-R4.3.rs | 30 +- .../bindings-Boolean-windows-x86_64-R4.4.rs | 30 +- ...dings-Boolean-windows-x86_64-R4.5-devel.rs | 30 +- .../bindings-Callbacks-linux-aarch64-R4.2.rs | 87 + .../bindings-Callbacks-linux-x86_64-R4.2.rs | 87 + .../bindings-Callbacks-macos-aarch64-R4.2.rs | 87 + .../bindings-Callbacks-macos-x86_64-R4.2.rs | 87 + .../bindings-Callbacks-windows-x86_64-R4.2.rs | 97 + .../bindings-Callbacks-windows-x86_64-R4.3.rs | 192 +- .../bindings-Callbacks-windows-x86_64-R4.4.rs | 192 +- ...ngs-Callbacks-windows-x86_64-R4.5-devel.rs | 192 +- .../bindings-Complex-linux-aarch64-R4.2.rs | 15 + .../bindings-Complex-linux-x86_64-R4.2.rs | 15 + .../bindings-Complex-macos-aarch64-R4.2.rs | 15 + .../bindings-Complex-macos-x86_64-R4.2.rs | 15 + .../bindings-Complex-windows-x86_64-R4.2.rs | 15 + .../bindings-Complex-windows-x86_64-R4.3.rs | 28 +- .../bindings-Complex-windows-x86_64-R4.4.rs | 28 +- ...dings-Complex-windows-x86_64-R4.5-devel.rs | 28 +- ...bindings-Connections-linux-aarch64-R4.2.rs | 103 + .../bindings-Connections-linux-x86_64-R4.2.rs | 112 + ...bindings-Connections-macos-aarch64-R4.2.rs | 105 + .../bindings-Connections-macos-x86_64-R4.2.rs | 113 + ...indings-Connections-windows-x86_64-R4.2.rs | 114 + ...indings-Connections-windows-x86_64-R4.3.rs | 226 +- ...indings-Connections-windows-x86_64-R4.4.rs | 226 +- ...s-Connections-windows-x86_64-R4.5-devel.rs | 226 +- .../bindings-Constants-linux-aarch64-R4.2.rs | 9 + .../bindings-Constants-linux-x86_64-R4.2.rs | 9 + .../bindings-Constants-macos-aarch64-R4.2.rs | 9 + .../bindings-Constants-macos-x86_64-R4.2.rs | 9 + .../bindings-Constants-windows-x86_64-R4.2.rs | 9 + .../bindings-Constants-windows-x86_64-R4.3.rs | 16 +- .../bindings-Constants-windows-x86_64-R4.4.rs | 16 +- ...ngs-Constants-windows-x86_64-R4.5-devel.rs | 16 +- bindings/bindings-Error-linux-aarch64-R4.2.rs | 15 + bindings/bindings-Error-linux-x86_64-R4.2.rs | 15 + bindings/bindings-Error-macos-aarch64-R4.2.rs | 15 + bindings/bindings-Error-macos-x86_64-R4.2.rs | 15 + .../bindings-Error-windows-x86_64-R4.2.rs | 15 + .../bindings-Error-windows-x86_64-R4.3.rs | 28 +- .../bindings-Error-windows-x86_64-R4.4.rs | 28 +- ...indings-Error-windows-x86_64-R4.5-devel.rs | 28 +- ...bindings-GetX11Image-linux-aarch64-R4.2.rs | 17 + .../bindings-GetX11Image-linux-x86_64-R4.2.rs | 17 + ...bindings-GetX11Image-macos-aarch64-R4.2.rs | 17 + .../bindings-GetX11Image-macos-x86_64-R4.2.rs | 17 + ...dings-GraphicsDevice-linux-aarch64-R4.2.rs | 339 + ...ndings-GraphicsDevice-linux-x86_64-R4.2.rs | 339 + ...dings-GraphicsDevice-macos-aarch64-R4.2.rs | 347 + ...ndings-GraphicsDevice-macos-x86_64-R4.2.rs | 347 + ...ings-GraphicsDevice-windows-x86_64-R4.2.rs | 355 + ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 734 +- ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 734 +- ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 734 +- ...dings-GraphicsEngine-linux-aarch64-R4.2.rs | 500 + ...ndings-GraphicsEngine-linux-x86_64-R4.2.rs | 500 + ...dings-GraphicsEngine-macos-aarch64-R4.2.rs | 503 + ...ndings-GraphicsEngine-macos-x86_64-R4.2.rs | 503 + ...ings-GraphicsEngine-windows-x86_64-R4.2.rs | 757 + ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 1598 +- ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 1598 +- ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 1598 +- .../bindings-Itermacros-linux-aarch64-R4.2.rs | 9 + .../bindings-Itermacros-linux-x86_64-R4.2.rs | 9 + .../bindings-Itermacros-macos-aarch64-R4.2.rs | 9 + .../bindings-Itermacros-macos-x86_64-R4.2.rs | 9 + ...bindings-Itermacros-windows-x86_64-R4.2.rs | 9 + ...bindings-Itermacros-windows-x86_64-R4.3.rs | 16 +- ...bindings-Itermacros-windows-x86_64-R4.4.rs | 16 +- ...gs-Itermacros-windows-x86_64-R4.5-devel.rs | 16 +- .../bindings-Lapack-linux-aarch64-R4.2.rs | 5345 +++++++ bindings/bindings-Lapack-linux-x86_64-R4.2.rs | 5345 +++++++ .../bindings-Lapack-macos-aarch64-R4.2.rs | 5635 +++++++ bindings/bindings-Lapack-macos-x86_64-R4.2.rs | 5635 +++++++ .../bindings-Lapack-windows-x86_64-R4.2.rs | 5641 +++++++ .../bindings-Lapack-windows-x86_64-R4.3.rs | 12198 +++++++-------- .../bindings-Lapack-windows-x86_64-R4.4.rs | 12986 ++++++++-------- ...ndings-Lapack-windows-x86_64-R4.5-devel.rs | 12986 ++++++++-------- .../bindings-Linpack-linux-aarch64-R4.2.rs | 330 + .../bindings-Linpack-linux-x86_64-R4.2.rs | 330 + .../bindings-Linpack-macos-aarch64-R4.2.rs | 332 + .../bindings-Linpack-macos-x86_64-R4.2.rs | 332 + .../bindings-Linpack-windows-x86_64-R4.2.rs | 332 + .../bindings-Linpack-windows-x86_64-R4.3.rs | 662 +- .../bindings-Linpack-windows-x86_64-R4.4.rs | 662 +- ...dings-Linpack-windows-x86_64-R4.5-devel.rs | 662 +- ...bindings-MathThreads-linux-aarch64-R4.2.rs | 12 + .../bindings-MathThreads-linux-x86_64-R4.2.rs | 12 + ...bindings-MathThreads-macos-aarch64-R4.2.rs | 12 + .../bindings-MathThreads-macos-x86_64-R4.2.rs | 12 + ...indings-MathThreads-windows-x86_64-R4.2.rs | 12 + ...indings-MathThreads-windows-x86_64-R4.3.rs | 22 +- ...indings-MathThreads-windows-x86_64-R4.4.rs | 22 +- ...s-MathThreads-windows-x86_64-R4.5-devel.rs | 22 +- .../bindings-Memory-linux-aarch64-R4.2.rs | 32 + bindings/bindings-Memory-linux-x86_64-R4.2.rs | 32 + .../bindings-Memory-macos-aarch64-R4.2.rs | 32 + bindings/bindings-Memory-macos-x86_64-R4.2.rs | 32 + .../bindings-Memory-windows-x86_64-R4.2.rs | 32 + .../bindings-Memory-windows-x86_64-R4.3.rs | 62 +- .../bindings-Memory-windows-x86_64-R4.4.rs | 62 +- ...ndings-Memory-windows-x86_64-R4.5-devel.rs | 62 +- bindings/bindings-Parse-linux-aarch64-R4.2.rs | 26 + bindings/bindings-Parse-linux-x86_64-R4.2.rs | 26 + bindings/bindings-Parse-macos-aarch64-R4.2.rs | 26 + bindings/bindings-Parse-macos-x86_64-R4.2.rs | 26 + .../bindings-Parse-windows-x86_64-R4.2.rs | 26 + .../bindings-Parse-windows-x86_64-R4.3.rs | 50 +- .../bindings-Parse-windows-x86_64-R4.4.rs | 50 +- ...indings-Parse-windows-x86_64-R4.5-devel.rs | 50 +- bindings/bindings-Print-linux-aarch64-R4.2.rs | 15 + bindings/bindings-Print-linux-x86_64-R4.2.rs | 24 + bindings/bindings-Print-macos-aarch64-R4.2.rs | 16 + bindings/bindings-Print-macos-x86_64-R4.2.rs | 24 + .../bindings-Print-windows-x86_64-R4.2.rs | 17 + .../bindings-Print-windows-x86_64-R4.3.rs | 32 +- .../bindings-Print-windows-x86_64-R4.4.rs | 32 +- ...indings-Print-windows-x86_64-R4.5-devel.rs | 32 +- .../bindings-PrtUtil-linux-aarch64-R4.2.rs | 53 + .../bindings-PrtUtil-linux-x86_64-R4.2.rs | 53 + .../bindings-PrtUtil-macos-aarch64-R4.2.rs | 55 + .../bindings-PrtUtil-macos-x86_64-R4.2.rs | 55 + .../bindings-PrtUtil-windows-x86_64-R4.2.rs | 62 + .../bindings-PrtUtil-windows-x86_64-R4.3.rs | 220 +- .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 220 +- ...dings-PrtUtil-windows-x86_64-R4.5-devel.rs | 220 +- ...indings-QuartzDevice-linux-aarch64-R4.2.rs | 239 + ...bindings-QuartzDevice-linux-x86_64-R4.2.rs | 239 + ...indings-QuartzDevice-macos-aarch64-R4.2.rs | 239 + ...bindings-QuartzDevice-macos-x86_64-R4.2.rs | 239 + bindings/bindings-R-linux-aarch64-R4.2.rs | 17 + bindings/bindings-R-linux-x86_64-R4.2.rs | 17 + bindings/bindings-R-macos-aarch64-R4.2.rs | 19 + bindings/bindings-R-macos-x86_64-R4.2.rs | 19 + bindings/bindings-R-windows-x86_64-R4.2.rs | 20 + bindings/bindings-R-windows-x86_64-R4.3.rs | 28 +- bindings/bindings-R-windows-x86_64-R4.4.rs | 28 +- .../bindings-R-windows-x86_64-R4.5-devel.rs | 28 +- bindings/bindings-RS-linux-aarch64-R4.2.rs | 17 + bindings/bindings-RS-linux-x86_64-R4.2.rs | 17 + bindings/bindings-RS-macos-aarch64-R4.2.rs | 17 + bindings/bindings-RS-macos-x86_64-R4.2.rs | 17 + bindings/bindings-RS-windows-x86_64-R4.2.rs | 17 + bindings/bindings-RS-windows-x86_64-R4.3.rs | 32 +- bindings/bindings-RS-windows-x86_64-R4.4.rs | 32 +- .../bindings-RS-windows-x86_64-R4.5-devel.rs | 32 +- .../bindings-RStartup-linux-aarch64-R4.2.rs | 172 + .../bindings-RStartup-linux-x86_64-R4.2.rs | 172 + .../bindings-RStartup-macos-aarch64-R4.2.rs | 172 + .../bindings-RStartup-macos-x86_64-R4.2.rs | 172 + .../bindings-RStartup-windows-x86_64-R4.2.rs | 234 + .../bindings-RStartup-windows-x86_64-R4.3.rs | 466 +- .../bindings-RStartup-windows-x86_64-R4.4.rs | 468 +- ...ings-RStartup-windows-x86_64-R4.5-devel.rs | 468 +- ...bindings-Rallocators-linux-aarch64-R4.2.rs | 27 + .../bindings-Rallocators-linux-x86_64-R4.2.rs | 27 + ...bindings-Rallocators-macos-aarch64-R4.2.rs | 27 + .../bindings-Rallocators-macos-x86_64-R4.2.rs | 27 + ...indings-Rallocators-windows-x86_64-R4.2.rs | 27 + ...indings-Rallocators-windows-x86_64-R4.3.rs | 52 +- ...indings-Rallocators-windows-x86_64-R4.4.rs | 52 +- ...s-Rallocators-windows-x86_64-R4.5-devel.rs | 52 +- .../bindings-Random-linux-aarch64-R4.2.rs | 54 + bindings/bindings-Random-linux-x86_64-R4.2.rs | 54 + .../bindings-Random-macos-aarch64-R4.2.rs | 54 + bindings/bindings-Random-macos-x86_64-R4.2.rs | 54 + .../bindings-Random-windows-x86_64-R4.2.rs | 54 + .../bindings-Random-windows-x86_64-R4.3.rs | 106 +- .../bindings-Random-windows-x86_64-R4.4.rs | 106 +- ...ndings-Random-windows-x86_64-R4.5-devel.rs | 106 +- .../bindings-Rconfig-linux-aarch64-R4.2.rs | 17 + .../bindings-Rconfig-linux-x86_64-R4.2.rs | 17 + .../bindings-Rconfig-macos-aarch64-R4.2.rs | 17 + .../bindings-Rconfig-macos-x86_64-R4.2.rs | 17 + .../bindings-Rconfig-windows-x86_64-R4.2.rs | 15 + .../bindings-Rconfig-windows-x86_64-R4.3.rs | 30 +- .../bindings-Rconfig-windows-x86_64-R4.4.rs | 30 +- ...dings-Rconfig-windows-x86_64-R4.5-devel.rs | 30 +- .../bindings-Rdefines-linux-aarch64-R4.2.rs | 11 + .../bindings-Rdefines-linux-x86_64-R4.2.rs | 11 + .../bindings-Rdefines-macos-aarch64-R4.2.rs | 11 + .../bindings-Rdefines-macos-x86_64-R4.2.rs | 11 + .../bindings-Rdefines-windows-x86_64-R4.2.rs | 11 + .../bindings-Rdefines-windows-x86_64-R4.3.rs | 20 +- .../bindings-Rdefines-windows-x86_64-R4.4.rs | 20 +- ...ings-Rdefines-windows-x86_64-R4.5-devel.rs | 20 +- .../bindings-Rdynload-linux-aarch64-R4.2.rs | 81 + .../bindings-Rdynload-linux-x86_64-R4.2.rs | 81 + .../bindings-Rdynload-macos-aarch64-R4.2.rs | 81 + .../bindings-Rdynload-macos-x86_64-R4.2.rs | 81 + .../bindings-Rdynload-windows-x86_64-R4.2.rs | 89 + .../bindings-Rdynload-windows-x86_64-R4.3.rs | 176 +- .../bindings-Rdynload-windows-x86_64-R4.4.rs | 176 +- ...ings-Rdynload-windows-x86_64-R4.5-devel.rs | 180 +- .../bindings-Rembedded-linux-aarch64-R4.2.rs | 19 + .../bindings-Rembedded-linux-x86_64-R4.2.rs | 19 + .../bindings-Rembedded-macos-aarch64-R4.2.rs | 19 + .../bindings-Rembedded-macos-x86_64-R4.2.rs | 19 + .../bindings-Rembedded-windows-x86_64-R4.2.rs | 34 + .../bindings-Rembedded-windows-x86_64-R4.3.rs | 66 +- .../bindings-Rembedded-windows-x86_64-R4.4.rs | 66 +- ...ngs-Rembedded-windows-x86_64-R4.5-devel.rs | 66 +- .../bindings-Riconv-linux-aarch64-R4.2.rs | 22 + bindings/bindings-Riconv-linux-x86_64-R4.2.rs | 22 + .../bindings-Riconv-macos-aarch64-R4.2.rs | 22 + bindings/bindings-Riconv-macos-x86_64-R4.2.rs | 22 + .../bindings-Riconv-windows-x86_64-R4.2.rs | 22 + .../bindings-Riconv-windows-x86_64-R4.3.rs | 42 +- .../bindings-Riconv-windows-x86_64-R4.4.rs | 42 +- ...ndings-Riconv-windows-x86_64-R4.5-devel.rs | 42 +- .../bindings-Rinterface-linux-aarch64-R4.2.rs | 67 + .../bindings-Rinterface-linux-x86_64-R4.2.rs | 67 + .../bindings-Rinterface-macos-aarch64-R4.2.rs | 74 + .../bindings-Rinterface-macos-x86_64-R4.2.rs | 74 + .../bindings-Rinternals-linux-aarch64-R4.2.rs | 914 ++ .../bindings-Rinternals-linux-aarch64-R4.3.rs | 44 +- .../bindings-Rinternals-linux-aarch64-R4.4.rs | 44 +- ...ngs-Rinternals-linux-aarch64-R4.5-devel.rs | 44 +- .../bindings-Rinternals-linux-x86_64-R4.2.rs | 914 ++ .../bindings-Rinternals-linux-x86_64-R4.3.rs | 44 +- .../bindings-Rinternals-linux-x86_64-R4.4.rs | 44 +- ...ings-Rinternals-linux-x86_64-R4.5-devel.rs | 44 +- .../bindings-Rinternals-macos-aarch64-R4.2.rs | 922 ++ .../bindings-Rinternals-macos-aarch64-R4.3.rs | 44 +- .../bindings-Rinternals-macos-aarch64-R4.4.rs | 44 +- ...ngs-Rinternals-macos-aarch64-R4.5-devel.rs | 44 +- .../bindings-Rinternals-macos-x86_64-R4.2.rs | 922 ++ .../bindings-Rinternals-macos-x86_64-R4.4.rs | 44 +- ...bindings-Rinternals-windows-x86_64-R4.2.rs | 885 ++ ...bindings-Rinternals-windows-x86_64-R4.3.rs | 1914 ++- ...bindings-Rinternals-windows-x86_64-R4.4.rs | 1920 ++- ...gs-Rinternals-windows-x86_64-R4.5-devel.rs | 1940 ++- bindings/bindings-Rmath-linux-aarch64-R4.2.rs | 509 + bindings/bindings-Rmath-linux-x86_64-R4.2.rs | 509 + bindings/bindings-Rmath-macos-aarch64-R4.2.rs | 538 + bindings/bindings-Rmath-macos-x86_64-R4.2.rs | 538 + .../bindings-Rmath-windows-x86_64-R4.2.rs | 538 + .../bindings-Rmath-windows-x86_64-R4.3.rs | 1074 +- .../bindings-Rmath-windows-x86_64-R4.4.rs | 1076 +- ...indings-Rmath-windows-x86_64-R4.5-devel.rs | 1076 +- .../bindings-Rversion-linux-aarch64-R4.2.rs | 17 + .../bindings-Rversion-linux-x86_64-R4.2.rs | 17 + .../bindings-Rversion-macos-aarch64-R4.2.rs | 17 + .../bindings-Rversion-macos-x86_64-R4.2.rs | 17 + .../bindings-Rversion-windows-x86_64-R4.2.rs | 17 + .../bindings-Rversion-windows-x86_64-R4.3.rs | 32 +- .../bindings-Rversion-windows-x86_64-R4.4.rs | 32 +- ...ings-Rversion-windows-x86_64-R4.5-devel.rs | 32 +- bindings/bindings-Utils-linux-aarch64-R4.2.rs | 111 + bindings/bindings-Utils-linux-aarch64-R4.3.rs | 3 + bindings/bindings-Utils-linux-aarch64-R4.4.rs | 3 + ...bindings-Utils-linux-aarch64-R4.5-devel.rs | 3 + bindings/bindings-Utils-linux-x86_64-R4.2.rs | 111 + bindings/bindings-Utils-linux-x86_64-R4.3.rs | 3 + bindings/bindings-Utils-linux-x86_64-R4.4.rs | 3 + .../bindings-Utils-linux-x86_64-R4.5-devel.rs | 3 + bindings/bindings-Utils-macos-aarch64-R4.2.rs | 111 + bindings/bindings-Utils-macos-aarch64-R4.3.rs | 3 + bindings/bindings-Utils-macos-aarch64-R4.4.rs | 4 + ...bindings-Utils-macos-aarch64-R4.5-devel.rs | 4 + bindings/bindings-Utils-macos-x86_64-R4.2.rs | 111 + bindings/bindings-Utils-macos-x86_64-R4.4.rs | 4 + .../bindings-Utils-windows-x86_64-R4.2.rs | 128 + .../bindings-Utils-windows-x86_64-R4.3.rs | 349 +- .../bindings-Utils-windows-x86_64-R4.4.rs | 356 +- ...indings-Utils-windows-x86_64-R4.5-devel.rs | 322 +- .../bindings-Visibility-linux-aarch64-R4.2.rs | 8 + .../bindings-Visibility-linux-x86_64-R4.2.rs | 8 + .../bindings-Visibility-macos-aarch64-R4.2.rs | 8 + .../bindings-Visibility-macos-x86_64-R4.2.rs | 8 + ...bindings-Visibility-windows-x86_64-R4.2.rs | 8 + ...bindings-Visibility-windows-x86_64-R4.3.rs | 14 +- ...bindings-Visibility-windows-x86_64-R4.4.rs | 14 +- ...gs-Visibility-windows-x86_64-R4.5-devel.rs | 14 +- .../bindings-eventloop-linux-aarch64-R4.2.rs | 56 + .../bindings-eventloop-linux-aarch64-R4.3.rs | 14 + .../bindings-eventloop-linux-aarch64-R4.4.rs | 14 + ...ings-eventloop-linux-aarch64-R4.5-devel.rs | 14 + .../bindings-eventloop-linux-x86_64-R4.2.rs | 56 + .../bindings-eventloop-linux-x86_64-R4.3.rs | 14 + .../bindings-eventloop-linux-x86_64-R4.4.rs | 14 + ...dings-eventloop-linux-x86_64-R4.5-devel.rs | 14 + .../bindings-eventloop-macos-aarch64-R4.2.rs | 48 + .../bindings-eventloop-macos-aarch64-R4.3.rs | 14 + .../bindings-eventloop-macos-aarch64-R4.4.rs | 14 + ...ings-eventloop-macos-aarch64-R4.5-devel.rs | 14 + .../bindings-eventloop-macos-x86_64-R4.2.rs | 48 + .../bindings-eventloop-macos-x86_64-R4.4.rs | 14 + bindings/bindings-ga-windows-x86_64-R4.2.rs | 387 + bindings/bindings-ga-windows-x86_64-R4.3.rs | 772 +- bindings/bindings-ga-windows-x86_64-R4.4.rs | 774 +- .../bindings-ga-windows-x86_64-R4.5-devel.rs | 774 +- .../bindings-graphapp-windows-x86_64-R4.2.rs | 631 + .../bindings-graphapp-windows-x86_64-R4.3.rs | 1262 +- .../bindings-graphapp-windows-x86_64-R4.4.rs | 1266 +- ...ings-graphapp-windows-x86_64-R4.5-devel.rs | 1266 +- .../bindings-iconv-windows-x86_64-R4.2.rs | 33 + .../bindings-iconv-windows-x86_64-R4.3.rs | 64 +- .../bindings-iconv-windows-x86_64-R4.4.rs | 64 +- ...indings-iconv-windows-x86_64-R4.5-devel.rs | 64 +- .../bindings-libextern-linux-aarch64-R4.2.rs | 8 + .../bindings-libextern-linux-x86_64-R4.2.rs | 8 + .../bindings-libextern-macos-aarch64-R4.2.rs | 8 + .../bindings-libextern-macos-x86_64-R4.2.rs | 8 + .../bindings-libextern-windows-x86_64-R4.2.rs | 8 + .../bindings-libextern-windows-x86_64-R4.3.rs | 14 +- .../bindings-libextern-windows-x86_64-R4.4.rs | 14 +- ...ngs-libextern-windows-x86_64-R4.5-devel.rs | 14 +- .../bindings-libintl-macos-aarch64-R4.2.rs | 57 + .../bindings-libintl-macos-x86_64-R4.2.rs | 57 + .../bindings-libintl-windows-x86_64-R4.2.rs | 58 + .../bindings-libintl-windows-x86_64-R4.3.rs | 114 +- .../bindings-libintl-windows-x86_64-R4.4.rs | 114 +- ...dings-libintl-windows-x86_64-R4.5-devel.rs | 114 +- ...ndings-stats_package-linux-aarch64-R4.2.rs | 71 + ...indings-stats_package-linux-x86_64-R4.2.rs | 71 + ...ndings-stats_package-macos-aarch64-R4.2.rs | 118 + ...indings-stats_package-macos-x86_64-R4.2.rs | 118 + ...dings-stats_package-windows-x86_64-R4.2.rs | 118 + ...dings-stats_package-windows-x86_64-R4.3.rs | 234 +- ...dings-stats_package-windows-x86_64-R4.4.rs | 234 +- ...stats_package-windows-x86_64-R4.5-devel.rs | 234 +- ...bindings-stats_stubs-linux-aarch64-R4.2.rs | 8 + .../bindings-stats_stubs-linux-x86_64-R4.2.rs | 8 + ...bindings-stats_stubs-macos-aarch64-R4.2.rs | 55 + .../bindings-stats_stubs-macos-x86_64-R4.2.rs | 55 + ...indings-stats_stubs-windows-x86_64-R4.2.rs | 55 + ...indings-stats_stubs-windows-x86_64-R4.3.rs | 108 +- ...indings-stats_stubs-windows-x86_64-R4.4.rs | 108 +- ...s-stats_stubs-windows-x86_64-R4.5-devel.rs | 108 +- 368 files changed, 95981 insertions(+), 40402 deletions(-) create mode 100644 bindings/bindings-Altrep-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Altrep-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Altrep-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Altrep-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Altrep-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Applic-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Applic-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Applic-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Applic-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Applic-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Arith-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Arith-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Arith-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Arith-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Arith-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-BLAS-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-BLAS-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-BLAS-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-BLAS-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-BLAS-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Boolean-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Boolean-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Boolean-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Boolean-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Boolean-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Callbacks-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Callbacks-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Callbacks-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Callbacks-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Callbacks-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Complex-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Complex-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Complex-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Complex-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Complex-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Connections-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Connections-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Connections-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Connections-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Connections-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Constants-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Constants-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Constants-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Constants-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Constants-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Error-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Error-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Error-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Error-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Error-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Itermacros-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Itermacros-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Itermacros-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Itermacros-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Itermacros-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Lapack-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Lapack-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Lapack-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Lapack-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Lapack-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Linpack-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Linpack-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Linpack-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Linpack-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Linpack-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-MathThreads-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-MathThreads-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-MathThreads-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-MathThreads-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-MathThreads-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Memory-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Memory-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Memory-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Memory-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Memory-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Parse-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Parse-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Parse-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Parse-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Parse-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Print-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Print-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Print-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Print-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Print-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-R-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-R-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-R-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-R-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-R-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-RS-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-RS-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-RS-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-RS-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-RS-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-RStartup-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-RStartup-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-RStartup-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-RStartup-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-RStartup-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rallocators-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rallocators-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rallocators-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rallocators-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rallocators-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Random-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Random-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Random-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Random-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Random-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rconfig-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rconfig-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rconfig-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rconfig-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rconfig-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdefines-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rdefines-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdefines-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rdefines-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdefines-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdynload-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rdynload-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdynload-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rdynload-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rdynload-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rembedded-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rembedded-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rembedded-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rembedded-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rembedded-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Riconv-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Riconv-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Riconv-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Riconv-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Riconv-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rinterface-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rinterface-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rinterface-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rinterface-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rinternals-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rinternals-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rinternals-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rinternals-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rinternals-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rmath-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rmath-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rmath-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rmath-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rmath-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rversion-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rversion-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rversion-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Rversion-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Rversion-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Utils-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Utils-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Utils-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Utils-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Utils-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-Visibility-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-Visibility-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-Visibility-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-Visibility-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-Visibility-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-eventloop-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-eventloop-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-eventloop-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-eventloop-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-ga-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-graphapp-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-iconv-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-libextern-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-libextern-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-libextern-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-libextern-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-libextern-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-libintl-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-libintl-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-libintl-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_package-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-stats_package-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_package-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-stats_package-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_package-windows-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs create mode 100644 bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs create mode 100644 bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs create mode 100644 bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs diff --git a/bindings/bindings-Altrep-linux-aarch64-R4.2.rs b/bindings/bindings-Altrep-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c215902d --- /dev/null +++ b/bindings/bindings-Altrep-linux-aarch64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-linux-x86_64-R4.2.rs b/bindings/bindings-Altrep-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c215902d --- /dev/null +++ b/bindings/bindings-Altrep-linux-x86_64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-macos-aarch64-R4.2.rs b/bindings/bindings-Altrep-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5fd8edef --- /dev/null +++ b/bindings/bindings-Altrep-macos-aarch64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-macos-x86_64-R4.2.rs b/bindings/bindings-Altrep-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5fd8edef --- /dev/null +++ b/bindings/bindings-Altrep-macos-x86_64-R4.2.rs @@ -0,0 +1,241 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.2.rs b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..caf786ff --- /dev/null +++ b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs @@ -0,0 +1,261 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs index 6e975873..b6dd0f02 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs index fca6c6ae..0c722857 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs index de636346..0633a858 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -1,321 +1,321 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -pub struct R_altrep_class_t { - pub ptr: SEXP, -} -pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: SEXP, - arg3: SEXP, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> SEXP, ->; -pub type R_altrep_Unserialize_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Serialized_state_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_DuplicateEX_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Duplicate_method_t = - ::std::option::Option SEXP>; -pub type R_altrep_Inspect_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ), - >, - ) -> Rboolean, ->; -pub type R_altrep_Length_method_t = - ::std::option::Option R_xlen_t>; -pub type R_altvec_Dataptr_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, ->; -pub type R_altvec_Dataptr_or_null_method_t = - ::std::option::Option *const ::std::os::raw::c_void>; -pub type R_altvec_Extract_subset_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altinteger_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altinteger_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altinteger_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altinteger_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Elt_method_t = - ::std::option::Option f64>; -pub type R_altreal_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, ->; -pub type R_altreal_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altreal_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Min_method_t = - ::std::option::Option SEXP>; -pub type R_altreal_Max_method_t = - ::std::option::Option SEXP>; -pub type R_altlogical_Elt_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, ->; -pub type R_altlogical_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut ::std::os::raw::c_int, - ) -> R_xlen_t, ->; -pub type R_altlogical_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlogical_Sum_method_t = - ::std::option::Option SEXP>; -pub type R_altraw_Elt_method_t = - ::std::option::Option Rbyte>; -pub type R_altraw_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, ->; -pub type R_altcomplex_Elt_method_t = - ::std::option::Option Rcomplex>; -pub type R_altcomplex_Get_region_method_t = ::std::option::Option< - unsafe extern "C" fn( - arg1: SEXP, - arg2: R_xlen_t, - arg3: R_xlen_t, - arg4: *mut Rcomplex, - ) -> R_xlen_t, ->; -pub type R_altstring_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altstring_Set_elt_method_t = - ::std::option::Option; -pub type R_altstring_Is_sorted_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altstring_No_NA_method_t = - ::std::option::Option ::std::os::raw::c_int>; -pub type R_altlist_Elt_method_t = - ::std::option::Option SEXP>; -pub type R_altlist_Set_elt_method_t = - ::std::option::Option; -extern "C" { - pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; - pub fn R_make_altstring_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altinteger_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altreal_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlogical_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altraw_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altcomplex_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_make_altlist_class( - cname: *const ::std::os::raw::c_char, - pname: *const ::std::os::raw::c_char, - info: *mut DllInfo, - ) -> R_altrep_class_t; - pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; - pub fn R_set_altrep_UnserializeEX_method( - cls: R_altrep_class_t, - fun: R_altrep_UnserializeEX_method_t, - ); - pub fn R_set_altrep_Unserialize_method( - cls: R_altrep_class_t, - fun: R_altrep_Unserialize_method_t, - ); - pub fn R_set_altrep_Serialized_state_method( - cls: R_altrep_class_t, - fun: R_altrep_Serialized_state_method_t, - ); - pub fn R_set_altrep_DuplicateEX_method( - cls: R_altrep_class_t, - fun: R_altrep_DuplicateEX_method_t, - ); - pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); - pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); - pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); - pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); - pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); - pub fn R_set_altvec_Dataptr_or_null_method( - cls: R_altrep_class_t, - fun: R_altvec_Dataptr_or_null_method_t, - ); - pub fn R_set_altvec_Extract_subset_method( - cls: R_altrep_class_t, - fun: R_altvec_Extract_subset_method_t, - ); - pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); - pub fn R_set_altinteger_Get_region_method( - cls: R_altrep_class_t, - fun: R_altinteger_Get_region_method_t, - ); - pub fn R_set_altinteger_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altinteger_Is_sorted_method_t, - ); - pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); - pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); - pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); - pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); - pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); - pub fn R_set_altreal_Get_region_method( - cls: R_altrep_class_t, - fun: R_altreal_Get_region_method_t, - ); - pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); - pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); - pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); - pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); - pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); - pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); - pub fn R_set_altlogical_Get_region_method( - cls: R_altrep_class_t, - fun: R_altlogical_Get_region_method_t, - ); - pub fn R_set_altlogical_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altlogical_Is_sorted_method_t, - ); - pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); - pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); - pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); - pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); - pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); - pub fn R_set_altcomplex_Get_region_method( - cls: R_altrep_class_t, - fun: R_altcomplex_Get_region_method_t, - ); - pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); - pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); - pub fn R_set_altstring_Is_sorted_method( - cls: R_altrep_class_t, - fun: R_altstring_Is_sorted_method_t, - ); - pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); - pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); - pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +pub struct R_altrep_class_t { + pub ptr: SEXP, +} +pub type R_altrep_UnserializeEX_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: SEXP, + arg3: SEXP, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> SEXP, +>; +pub type R_altrep_Unserialize_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Serialized_state_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_DuplicateEX_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Duplicate_method_t = + ::std::option::Option SEXP>; +pub type R_altrep_Inspect_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ), + >, + ) -> Rboolean, +>; +pub type R_altrep_Length_method_t = + ::std::option::Option R_xlen_t>; +pub type R_altvec_Dataptr_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut ::std::os::raw::c_void, +>; +pub type R_altvec_Dataptr_or_null_method_t = + ::std::option::Option *const ::std::os::raw::c_void>; +pub type R_altvec_Extract_subset_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altinteger_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altinteger_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altinteger_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altinteger_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Elt_method_t = + ::std::option::Option f64>; +pub type R_altreal_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut f64) -> R_xlen_t, +>; +pub type R_altreal_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altreal_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Min_method_t = + ::std::option::Option SEXP>; +pub type R_altreal_Max_method_t = + ::std::option::Option SEXP>; +pub type R_altlogical_Elt_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t) -> ::std::os::raw::c_int, +>; +pub type R_altlogical_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut ::std::os::raw::c_int, + ) -> R_xlen_t, +>; +pub type R_altlogical_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlogical_Sum_method_t = + ::std::option::Option SEXP>; +pub type R_altraw_Elt_method_t = + ::std::option::Option Rbyte>; +pub type R_altraw_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: R_xlen_t, arg3: R_xlen_t, arg4: *mut Rbyte) -> R_xlen_t, +>; +pub type R_altcomplex_Elt_method_t = + ::std::option::Option Rcomplex>; +pub type R_altcomplex_Get_region_method_t = ::std::option::Option< + unsafe extern "C" fn( + arg1: SEXP, + arg2: R_xlen_t, + arg3: R_xlen_t, + arg4: *mut Rcomplex, + ) -> R_xlen_t, +>; +pub type R_altstring_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altstring_Set_elt_method_t = + ::std::option::Option; +pub type R_altstring_Is_sorted_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altstring_No_NA_method_t = + ::std::option::Option ::std::os::raw::c_int>; +pub type R_altlist_Elt_method_t = + ::std::option::Option SEXP>; +pub type R_altlist_Set_elt_method_t = + ::std::option::Option; +extern "C" { + pub fn R_new_altrep(aclass: R_altrep_class_t, data1: SEXP, data2: SEXP) -> SEXP; + pub fn R_make_altstring_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altinteger_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altreal_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlogical_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altraw_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altcomplex_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_make_altlist_class( + cname: *const ::std::os::raw::c_char, + pname: *const ::std::os::raw::c_char, + info: *mut DllInfo, + ) -> R_altrep_class_t; + pub fn R_altrep_inherits(x: SEXP, arg1: R_altrep_class_t) -> Rboolean; + pub fn R_set_altrep_UnserializeEX_method( + cls: R_altrep_class_t, + fun: R_altrep_UnserializeEX_method_t, + ); + pub fn R_set_altrep_Unserialize_method( + cls: R_altrep_class_t, + fun: R_altrep_Unserialize_method_t, + ); + pub fn R_set_altrep_Serialized_state_method( + cls: R_altrep_class_t, + fun: R_altrep_Serialized_state_method_t, + ); + pub fn R_set_altrep_DuplicateEX_method( + cls: R_altrep_class_t, + fun: R_altrep_DuplicateEX_method_t, + ); + pub fn R_set_altrep_Duplicate_method(cls: R_altrep_class_t, fun: R_altrep_Duplicate_method_t); + pub fn R_set_altrep_Coerce_method(cls: R_altrep_class_t, fun: R_altrep_Coerce_method_t); + pub fn R_set_altrep_Inspect_method(cls: R_altrep_class_t, fun: R_altrep_Inspect_method_t); + pub fn R_set_altrep_Length_method(cls: R_altrep_class_t, fun: R_altrep_Length_method_t); + pub fn R_set_altvec_Dataptr_method(cls: R_altrep_class_t, fun: R_altvec_Dataptr_method_t); + pub fn R_set_altvec_Dataptr_or_null_method( + cls: R_altrep_class_t, + fun: R_altvec_Dataptr_or_null_method_t, + ); + pub fn R_set_altvec_Extract_subset_method( + cls: R_altrep_class_t, + fun: R_altvec_Extract_subset_method_t, + ); + pub fn R_set_altinteger_Elt_method(cls: R_altrep_class_t, fun: R_altinteger_Elt_method_t); + pub fn R_set_altinteger_Get_region_method( + cls: R_altrep_class_t, + fun: R_altinteger_Get_region_method_t, + ); + pub fn R_set_altinteger_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altinteger_Is_sorted_method_t, + ); + pub fn R_set_altinteger_No_NA_method(cls: R_altrep_class_t, fun: R_altinteger_No_NA_method_t); + pub fn R_set_altinteger_Sum_method(cls: R_altrep_class_t, fun: R_altinteger_Sum_method_t); + pub fn R_set_altinteger_Min_method(cls: R_altrep_class_t, fun: R_altinteger_Min_method_t); + pub fn R_set_altinteger_Max_method(cls: R_altrep_class_t, fun: R_altinteger_Max_method_t); + pub fn R_set_altreal_Elt_method(cls: R_altrep_class_t, fun: R_altreal_Elt_method_t); + pub fn R_set_altreal_Get_region_method( + cls: R_altrep_class_t, + fun: R_altreal_Get_region_method_t, + ); + pub fn R_set_altreal_Is_sorted_method(cls: R_altrep_class_t, fun: R_altreal_Is_sorted_method_t); + pub fn R_set_altreal_No_NA_method(cls: R_altrep_class_t, fun: R_altreal_No_NA_method_t); + pub fn R_set_altreal_Sum_method(cls: R_altrep_class_t, fun: R_altreal_Sum_method_t); + pub fn R_set_altreal_Min_method(cls: R_altrep_class_t, fun: R_altreal_Min_method_t); + pub fn R_set_altreal_Max_method(cls: R_altrep_class_t, fun: R_altreal_Max_method_t); + pub fn R_set_altlogical_Elt_method(cls: R_altrep_class_t, fun: R_altlogical_Elt_method_t); + pub fn R_set_altlogical_Get_region_method( + cls: R_altrep_class_t, + fun: R_altlogical_Get_region_method_t, + ); + pub fn R_set_altlogical_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altlogical_Is_sorted_method_t, + ); + pub fn R_set_altlogical_No_NA_method(cls: R_altrep_class_t, fun: R_altlogical_No_NA_method_t); + pub fn R_set_altlogical_Sum_method(cls: R_altrep_class_t, fun: R_altlogical_Sum_method_t); + pub fn R_set_altraw_Elt_method(cls: R_altrep_class_t, fun: R_altraw_Elt_method_t); + pub fn R_set_altraw_Get_region_method(cls: R_altrep_class_t, fun: R_altraw_Get_region_method_t); + pub fn R_set_altcomplex_Elt_method(cls: R_altrep_class_t, fun: R_altcomplex_Elt_method_t); + pub fn R_set_altcomplex_Get_region_method( + cls: R_altrep_class_t, + fun: R_altcomplex_Get_region_method_t, + ); + pub fn R_set_altstring_Elt_method(cls: R_altrep_class_t, fun: R_altstring_Elt_method_t); + pub fn R_set_altstring_Set_elt_method(cls: R_altrep_class_t, fun: R_altstring_Set_elt_method_t); + pub fn R_set_altstring_Is_sorted_method( + cls: R_altrep_class_t, + fun: R_altstring_Is_sorted_method_t, + ); + pub fn R_set_altstring_No_NA_method(cls: R_altrep_class_t, fun: R_altstring_No_NA_method_t); + pub fn R_set_altlist_Elt_method(cls: R_altrep_class_t, fun: R_altlist_Elt_method_t); + pub fn R_set_altlist_Set_elt_method(cls: R_altrep_class_t, fun: R_altlist_Set_elt_method_t); +} diff --git a/bindings/bindings-Applic-linux-aarch64-R4.2.rs b/bindings/bindings-Applic-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..0d6d6e00 --- /dev/null +++ b/bindings/bindings-Applic-linux-aarch64-R4.2.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-linux-x86_64-R4.2.rs b/bindings/bindings-Applic-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..0d6d6e00 --- /dev/null +++ b/bindings/bindings-Applic-linux-x86_64-R4.2.rs @@ -0,0 +1,272 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-aarch64-R4.2.rs b/bindings/bindings-Applic-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b1e34178 --- /dev/null +++ b/bindings/bindings-Applic-macos-aarch64-R4.2.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-macos-x86_64-R4.2.rs b/bindings/bindings-Applic-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b1e34178 --- /dev/null +++ b/bindings/bindings-Applic-macos-x86_64-R4.2.rs @@ -0,0 +1,274 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.2.rs b/bindings/bindings-Applic-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..c954266e --- /dev/null +++ b/bindings/bindings-Applic-windows-x86_64-R4.2.rs @@ -0,0 +1,282 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/bindings/bindings-Applic-windows-x86_64-R4.3.rs index 4ae4869e..45d9ce25 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/bindings/bindings-Applic-windows-x86_64-R4.4.rs index 4b4c4bbf..35c10bb7 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Also used in packages nlme, pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Also used in packages nlme, pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs index 4057a304..568f29d5 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -1,282 +1,282 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "../../appl/integrate.c"] -pub type integr_fn = ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), ->; -#[doc = "main/optim.c"] -pub type optimfn = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut ::std::os::raw::c_void, - ) -> f64, ->; -pub type optimgr = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the target and gradient functions"] -pub type fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_void, - ), ->; -#[doc = "type of pointer to the hessian functions"] -pub type d2fcn_p = ::std::option::Option< - unsafe extern "C" fn( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_void, - ), ->; -extern "C" { - #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] - pub fn Rdqags( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - a: *mut f64, - b: *mut f64, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn Rdqagi( - f: integr_fn, - ex: *mut ::std::os::raw::c_void, - bound: *mut f64, - inf: *mut ::std::os::raw::c_int, - epsabs: *mut f64, - epsrel: *mut f64, - result: *mut f64, - abserr: *mut f64, - neval: *mut ::std::os::raw::c_int, - ier: *mut ::std::os::raw::c_int, - limit: *mut ::std::os::raw::c_int, - lenw: *mut ::std::os::raw::c_int, - last: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn vmmin( - n: ::std::os::raw::c_int, - b: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - maxit: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - mask: *mut ::std::os::raw::c_int, - abstol: f64, - reltol: f64, - nREPORT: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - fail: *mut ::std::os::raw::c_int, - ); - pub fn nmmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - alpha: f64, - bet: f64, - gamm: f64, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn cgmin( - n: ::std::os::raw::c_int, - Bvec: *mut f64, - X: *mut f64, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - abstol: f64, - intol: f64, - ex: *mut ::std::os::raw::c_void, - type_: ::std::os::raw::c_int, - trace: ::std::os::raw::c_int, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - ); - pub fn lbfgsb( - n: ::std::os::raw::c_int, - m: ::std::os::raw::c_int, - x: *mut f64, - l: *mut f64, - u: *mut f64, - nbd: *mut ::std::os::raw::c_int, - Fmin: *mut f64, - fn_: optimfn, - gr: optimgr, - fail: *mut ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - factr: f64, - pgtol: f64, - fncount: *mut ::std::os::raw::c_int, - grcount: *mut ::std::os::raw::c_int, - maxit: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_char, - trace: ::std::os::raw::c_int, - nREPORT: ::std::os::raw::c_int, - ); - pub fn samin( - n: ::std::os::raw::c_int, - pb: *mut f64, - yb: *mut f64, - fn_: optimfn, - maxit: ::std::os::raw::c_int, - tmax: ::std::os::raw::c_int, - ti: f64, - trace: ::std::os::raw::c_int, - ex: *mut ::std::os::raw::c_void, - ); - #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "appl/dqrutl.f: interfaces to dqrsl"] - pub fn dqrqty_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qty: *mut f64, - ); - pub fn dqrqy_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - qy: *mut f64, - ); - pub fn dqrcf_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - qraux: *mut f64, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - b: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] - pub fn R_pretty( - lo: *mut f64, - up: *mut f64, - ndiv: *mut ::std::os::raw::c_int, - min_n: ::std::os::raw::c_int, - shrink_sml: f64, - high_u_fact: *const f64, - eps_correction: ::std::os::raw::c_int, - return_bounds: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Foremerly used in package nlme, still used by pcaPP"] - pub fn optif9( - nr: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: *mut f64, - fcn: fcn_p, - d1fcn: fcn_p, - d2fcn: d2fcn_p, - state: *mut ::std::os::raw::c_void, - typsiz: *mut f64, - fscale: f64, - method: ::std::os::raw::c_int, - iexp: ::std::os::raw::c_int, - msg: *mut ::std::os::raw::c_int, - ndigit: ::std::os::raw::c_int, - itnlim: ::std::os::raw::c_int, - iagflg: ::std::os::raw::c_int, - iahflg: ::std::os::raw::c_int, - dlt: f64, - gradtl: f64, - stepmx: f64, - steptl: f64, - xpls: *mut f64, - fpls: *mut f64, - gpls: *mut f64, - itrmcd: *mut ::std::os::raw::c_int, - a: *mut f64, - wrk: *mut f64, - itncnt: *mut ::std::os::raw::c_int, - ); - #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] - pub fn dqrdc2_( - x: *mut f64, - ldx: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - tol: *mut f64, - rank: *mut ::std::os::raw::c_int, - qraux: *mut f64, - pivot: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dqrls_( - x: *mut f64, - n: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - y: *mut f64, - ny: *mut ::std::os::raw::c_int, - tol: *mut f64, - b: *mut f64, - rsd: *mut f64, - qty: *mut f64, - k: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - qraux: *mut f64, - work: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "../../appl/integrate.c"] +pub type integr_fn = ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), +>; +#[doc = "main/optim.c"] +pub type optimfn = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut ::std::os::raw::c_void, + ) -> f64, +>; +pub type optimgr = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the target and gradient functions"] +pub type fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_void, + ), +>; +#[doc = "type of pointer to the hessian functions"] +pub type d2fcn_p = ::std::option::Option< + unsafe extern "C" fn( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_void, + ), +>; +extern "C" { + #[doc = "vectorizing function f(x\\[1:n\\], ...) -> x\\[\\] {overwriting x\\[\\]}."] + pub fn Rdqags( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + a: *mut f64, + b: *mut f64, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn Rdqagi( + f: integr_fn, + ex: *mut ::std::os::raw::c_void, + bound: *mut f64, + inf: *mut ::std::os::raw::c_int, + epsabs: *mut f64, + epsrel: *mut f64, + result: *mut f64, + abserr: *mut f64, + neval: *mut ::std::os::raw::c_int, + ier: *mut ::std::os::raw::c_int, + limit: *mut ::std::os::raw::c_int, + lenw: *mut ::std::os::raw::c_int, + last: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn vmmin( + n: ::std::os::raw::c_int, + b: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + maxit: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + mask: *mut ::std::os::raw::c_int, + abstol: f64, + reltol: f64, + nREPORT: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + fail: *mut ::std::os::raw::c_int, + ); + pub fn nmmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + alpha: f64, + bet: f64, + gamm: f64, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn cgmin( + n: ::std::os::raw::c_int, + Bvec: *mut f64, + X: *mut f64, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + abstol: f64, + intol: f64, + ex: *mut ::std::os::raw::c_void, + type_: ::std::os::raw::c_int, + trace: ::std::os::raw::c_int, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + ); + pub fn lbfgsb( + n: ::std::os::raw::c_int, + m: ::std::os::raw::c_int, + x: *mut f64, + l: *mut f64, + u: *mut f64, + nbd: *mut ::std::os::raw::c_int, + Fmin: *mut f64, + fn_: optimfn, + gr: optimgr, + fail: *mut ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + factr: f64, + pgtol: f64, + fncount: *mut ::std::os::raw::c_int, + grcount: *mut ::std::os::raw::c_int, + maxit: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_char, + trace: ::std::os::raw::c_int, + nREPORT: ::std::os::raw::c_int, + ); + pub fn samin( + n: ::std::os::raw::c_int, + pb: *mut f64, + yb: *mut f64, + fn_: optimfn, + maxit: ::std::os::raw::c_int, + tmax: ::std::os::raw::c_int, + ti: f64, + trace: ::std::os::raw::c_int, + ex: *mut ::std::os::raw::c_void, + ); + #[doc = "appl/interv.c: Also in Utils.h, used in former package eco"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "appl/dqrutl.f: interfaces to dqrsl"] + pub fn dqrqty_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qty: *mut f64, + ); + pub fn dqrqy_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + qy: *mut f64, + ); + pub fn dqrcf_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + qraux: *mut f64, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + b: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "appl/pretty.c: for use in engine.c and util.c\nFIXME: move out of this header"] + pub fn R_pretty( + lo: *mut f64, + up: *mut f64, + ndiv: *mut ::std::os::raw::c_int, + min_n: ::std::os::raw::c_int, + shrink_sml: f64, + high_u_fact: *const f64, + eps_correction: ::std::os::raw::c_int, + return_bounds: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Foremerly used in package nlme, still used by pcaPP"] + pub fn optif9( + nr: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: *mut f64, + fcn: fcn_p, + d1fcn: fcn_p, + d2fcn: d2fcn_p, + state: *mut ::std::os::raw::c_void, + typsiz: *mut f64, + fscale: f64, + method: ::std::os::raw::c_int, + iexp: ::std::os::raw::c_int, + msg: *mut ::std::os::raw::c_int, + ndigit: ::std::os::raw::c_int, + itnlim: ::std::os::raw::c_int, + iagflg: ::std::os::raw::c_int, + iahflg: ::std::os::raw::c_int, + dlt: f64, + gradtl: f64, + stepmx: f64, + steptl: f64, + xpls: *mut f64, + fpls: *mut f64, + gpls: *mut f64, + itrmcd: *mut ::std::os::raw::c_int, + a: *mut f64, + wrk: *mut f64, + itncnt: *mut ::std::os::raw::c_int, + ); + #[doc = "find qr decomposition, dqrdc2() is basis of R's qr(),\nalso used by nlme and many other packages."] + pub fn dqrdc2_( + x: *mut f64, + ldx: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + tol: *mut f64, + rank: *mut ::std::os::raw::c_int, + qraux: *mut f64, + pivot: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dqrls_( + x: *mut f64, + n: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + y: *mut f64, + ny: *mut ::std::os::raw::c_int, + tol: *mut f64, + b: *mut f64, + rsd: *mut f64, + qty: *mut f64, + k: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + qraux: *mut f64, + work: *mut f64, + ); +} diff --git a/bindings/bindings-Arith-linux-aarch64-R4.2.rs b/bindings/bindings-Arith-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..31fecee6 --- /dev/null +++ b/bindings/bindings-Arith-linux-aarch64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-linux-x86_64-R4.2.rs b/bindings/bindings-Arith-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..31fecee6 --- /dev/null +++ b/bindings/bindings-Arith-linux-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-aarch64-R4.2.rs b/bindings/bindings-Arith-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..d85a0747 --- /dev/null +++ b/bindings/bindings-Arith-macos-aarch64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-macos-x86_64-R4.2.rs b/bindings/bindings-Arith-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..d85a0747 --- /dev/null +++ b/bindings/bindings-Arith-macos-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.2.rs b/bindings/bindings-Arith-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..9260be2c --- /dev/null +++ b/bindings/bindings-Arith-windows-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.3.rs b/bindings/bindings-Arith-windows-x86_64-R4.3.rs index 39f77f73..ed820878 100644 --- a/bindings/bindings-Arith-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.3.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.4.rs b/bindings/bindings-Arith-windows-x86_64-R4.4.rs index 40fe80bd..d22610ac 100644 --- a/bindings/bindings-Arith-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.4.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs index 9764f1e2..af874a61 100644 --- a/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Arith-windows-x86_64-R4.5-devel.rs @@ -1,24 +1,24 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "IEEE NaN"] - pub static mut R_NaN: f64; - #[doc = "IEEE Inf"] - pub static mut R_PosInf: f64; - #[doc = "IEEE -Inf"] - pub static mut R_NegInf: f64; - #[doc = "NA_REAL: IEEE"] - pub static mut R_NaReal: f64; - #[doc = "NA_INTEGER:= INT_MIN currently"] - pub static mut R_NaInt: ::std::os::raw::c_int; - #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] - pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; - pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "IEEE NaN"] + pub static mut R_NaN: f64; + #[doc = "IEEE Inf"] + pub static mut R_PosInf: f64; + #[doc = "IEEE -Inf"] + pub static mut R_NegInf: f64; + #[doc = "NA_REAL: IEEE"] + pub static mut R_NaReal: f64; + #[doc = "NA_INTEGER:= INT_MIN currently"] + pub static mut R_NaInt: ::std::os::raw::c_int; + #[doc = "NA_STRING is a SEXP, so defined in Rinternals.h"] + pub fn R_IsNA(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_IsNaN(arg1: f64) -> ::std::os::raw::c_int; + pub fn R_finite(arg1: f64) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-BLAS-linux-aarch64-R4.2.rs b/bindings/bindings-BLAS-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..02369fee --- /dev/null +++ b/bindings/bindings-BLAS-linux-aarch64-R4.2.rs @@ -0,0 +1,718 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-linux-x86_64-R4.2.rs b/bindings/bindings-BLAS-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..02369fee --- /dev/null +++ b/bindings/bindings-BLAS-linux-x86_64-R4.2.rs @@ -0,0 +1,718 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-macos-aarch64-R4.2.rs b/bindings/bindings-BLAS-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..48e4f235 --- /dev/null +++ b/bindings/bindings-BLAS-macos-aarch64-R4.2.rs @@ -0,0 +1,742 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-macos-x86_64-R4.2.rs b/bindings/bindings-BLAS-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..48e4f235 --- /dev/null +++ b/bindings/bindings-BLAS-macos-x86_64-R4.2.rs @@ -0,0 +1,742 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.2.rs b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..61f4bce6 --- /dev/null +++ b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs @@ -0,0 +1,748 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs index dda0cb61..dc77951e 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.3.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -1,889 +1,889 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs index a97ec9c1..92602d85 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.4.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -1,902 +1,902 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs index a13101f6..79dd70af 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -1,902 +1,902 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - pub fn dasum_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn daxpy_( - n: *const ::std::os::raw::c_int, - da: *const f64, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn dcopy_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn ddot_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - dy: *const f64, - incy: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dnrm2_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn drot_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); - pub fn drotm_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - dparam: *const f64, - ); - pub fn drotmg_( - dd1: *const f64, - dd2: *const f64, - dx1: *const f64, - dy1: *const f64, - param: *mut f64, - ); - pub fn dscal_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - pub fn dswap_( - n: *const ::std::os::raw::c_int, - dx: *mut f64, - incx: *const ::std::os::raw::c_int, - dy: *mut f64, - incy: *const ::std::os::raw::c_int, - ); - pub fn idamax_( - n: *const ::std::os::raw::c_int, - dx: *const f64, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgbmv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] - pub fn dgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - ap: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] - pub fn dsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - beta: *const f64, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] - pub fn dtrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] - pub fn dtrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] - pub fn dger_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ); - #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dsyr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] - pub fn dspr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dsyr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] - pub fn dspr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const f64, - incx: *const ::std::os::raw::c_int, - y: *const f64, - incy: *const ::std::os::raw::c_int, - ap: *mut f64, - arg1: usize, - ); - #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] - pub fn dgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] - pub fn dtrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] - pub fn dtrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] - pub fn dsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] - pub fn dsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] - pub fn dsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] - pub fn dcabs1_(z: *const Rcomplex) -> f64; - pub fn dzasum_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn dznrm2_( - n: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - pub fn izamax_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn zaxpy_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zcopy_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] - pub fn zdotc_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdotu_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ) -> Rcomplex; - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - zx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zdscal_( - n: *const ::std::os::raw::c_int, - da: *const f64, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zgbmv_( - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - y: *mut Rcomplex, - incy: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgemm_( - transa: *const ::std::os::raw::c_char, - transb: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgemv_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgerc_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zgeru_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ); - pub fn zhbmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhemm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhemv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zher2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zherk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const f64, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const f64, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhpr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zhpr2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - y: *const Rcomplex, - incy: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - arg1: usize, - ); - pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); - pub fn zscal_( - n: *const ::std::os::raw::c_int, - za: *const Rcomplex, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ); - pub fn zswap_( - n: *const ::std::os::raw::c_int, - zx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - zy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - ); - pub fn zsymm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *const Rcomplex, - ldb: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyr2k_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - beta: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zsyrk_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztbmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztbsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztpsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrmm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrmv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrsm_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - transa: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn ztrsv_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] - pub fn zspmv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - ap: *const Rcomplex, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + pub fn dasum_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn daxpy_( + n: *const ::std::os::raw::c_int, + da: *const f64, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn dcopy_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn ddot_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + dy: *const f64, + incy: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dnrm2_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn drot_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn drotg_(a: *const f64, b: *const f64, c: *mut f64, s: *mut f64); + pub fn drotm_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + dparam: *const f64, + ); + pub fn drotmg_( + dd1: *const f64, + dd2: *const f64, + dx1: *const f64, + dy1: *const f64, + param: *mut f64, + ); + pub fn dscal_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dswap_( + n: *const ::std::os::raw::c_int, + dx: *mut f64, + incx: *const ::std::os::raw::c_int, + dy: *mut f64, + incy: *const ::std::os::raw::c_int, + ); + pub fn idamax_( + n: *const ::std::os::raw::c_int, + dx: *const f64, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "DGBMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgbmv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEMV - perform one of the matrix-vector operations */\n/* y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,"] + pub fn dgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSBMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + ap: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYMV - perform the matrix-vector operation */\n/* y := alpha*A*x + beta*y,"] + pub fn dsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + beta: *const f64, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRMV - perform one of the matrix-vector operations */\n/* x := A*x, or x := A'*x,"] + pub fn dtrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSV - solve one of the systems of equations */\n/* A*x = b, or A'*x = b,"] + pub fn dtrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGER - perform the rank 1 operation A := alpha*x*y' + A"] + pub fn dger_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DSYR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dsyr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR - perform the symmetric rank 1 operation A := alpha*x*x' + A"] + pub fn dspr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DSYR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dsyr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPR2 - perform the symmetric rank 2 operation */\n/* A := alpha*x*y' + alpha*y*x' + A,"] + pub fn dspr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const f64, + incx: *const ::std::os::raw::c_int, + y: *const f64, + incy: *const ::std::os::raw::c_int, + ap: *mut f64, + arg1: usize, + ); + #[doc = "DGEMM - perform one of the matrix-matrix operations */\n/* C := alpha*op( A )*op( B ) + beta*C"] + pub fn dgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSM - solve one of the matrix equations */\n/* op(A)*X = alpha*B, or X*op(A) = alpha*B"] + pub fn dtrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DTRMM - perform one of the matrix-matrix operations */\n/* B := alpha*op( A )*B, or B := alpha*B*op( A )"] + pub fn dtrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DSYMM - perform one of the matrix-matrix operations */\n/* C := alpha*A*B + beta*C,"] + pub fn dsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRK - perform one of the symmetric rank k operations */\n/* C := alpha*A*A' + beta*C or C := alpha*A'*A + beta*C"] + pub fn dsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYR2K - perform one of the symmetric rank 2k operations */\n/* C := alpha*A*B' + alpha*B*A' + beta*C or */\n/* C := alpha*A'*B + alpha*B'*A + beta*C"] + pub fn dsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Double complex BLAS routines added for 2.3.0 */\n/* #ifdef HAVE_FORTRAN_DOUBLE_COMPLEX"] + pub fn dcabs1_(z: *const Rcomplex) -> f64; + pub fn dzasum_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn dznrm2_( + n: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn izamax_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zaxpy_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zcopy_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + #[doc = "WARNING! The next two return a value that may not be\ncompatible between C and Fortran, and even if it is, this might\nnot be the right translation to C. Only use after\nconfigure-testing with your compilers."] + pub fn zdotc_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdotu_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ) -> Rcomplex; + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + zx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zdscal_( + n: *const ::std::os::raw::c_int, + da: *const f64, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zgbmv_( + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + y: *mut Rcomplex, + incy: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgemm_( + transa: *const ::std::os::raw::c_char, + transb: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgemv_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgerc_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zgeru_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ); + pub fn zhbmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhemm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhemv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zher2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zherk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const f64, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const f64, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhpr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zhpr2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + y: *const Rcomplex, + incy: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + arg1: usize, + ); + pub fn zrotg_(ca: *const Rcomplex, cb: *const Rcomplex, c: *mut f64, s: *mut Rcomplex); + pub fn zscal_( + n: *const ::std::os::raw::c_int, + za: *const Rcomplex, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ); + pub fn zswap_( + n: *const ::std::os::raw::c_int, + zx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + zy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + ); + pub fn zsymm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *const Rcomplex, + ldb: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyr2k_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + beta: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zsyrk_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztbmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztbsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztpsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrmm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrmv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrsm_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + transa: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn ztrsv_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZSPMV performs the matrix-vector operation\n\n y := alpha*A*x + beta*y,\n\n where alpha and beta are scalars, x and y are n element vectors\n and A is an n by n symmetric matrix, supplied in packed form.\n Added in R 4.4.0"] + pub fn zspmv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + ap: *const Rcomplex, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); +} diff --git a/bindings/bindings-Boolean-linux-aarch64-R4.2.rs b/bindings/bindings-Boolean-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e30cf646 --- /dev/null +++ b/bindings/bindings-Boolean-linux-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-linux-x86_64-R4.2.rs b/bindings/bindings-Boolean-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e30cf646 --- /dev/null +++ b/bindings/bindings-Boolean-linux-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-aarch64-R4.2.rs b/bindings/bindings-Boolean-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..c79b1209 --- /dev/null +++ b/bindings/bindings-Boolean-macos-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-macos-x86_64-R4.2.rs b/bindings/bindings-Boolean-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..c79b1209 --- /dev/null +++ b/bindings/bindings-Boolean-macos-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.2.rs b/bindings/bindings-Boolean-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..508f382d --- /dev/null +++ b/bindings/bindings-Boolean-windows-x86_64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.3.rs b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs index 4d2256bf..b4ccc6bc 100644 --- a/bindings/bindings-Boolean-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.3.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.4.rs b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs index d8189fb7..2baf8809 100644 --- a/bindings/bindings-Boolean-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.4.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs index 5d489bfb..a8b3e38d 100644 --- a/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Boolean-windows-x86_64-R4.5-devel.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} diff --git a/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs b/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b28bcec6 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-aarch64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs b/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b28bcec6 --- /dev/null +++ b/bindings/bindings-Callbacks-linux-x86_64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs b/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..7150f0ed --- /dev/null +++ b/bindings/bindings-Callbacks-macos-aarch64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs b/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..7150f0ed --- /dev/null +++ b/bindings/bindings-Callbacks-macos-x86_64-R4.2.rs @@ -0,0 +1,87 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..587efe97 --- /dev/null +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs @@ -0,0 +1,97 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs index eb07234a..f57ff68f 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs index 3745c2d8..56d3f8e5 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs index f65782e5..88e6bdb3 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -1,97 +1,97 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type SEXP = *mut SEXPREC; -#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] -pub type R_ToplevelCallback = ::std::option::Option< - unsafe extern "C" fn( - expr: SEXP, - value: SEXP, - succeeded: Rboolean, - visible: Rboolean, - arg1: *mut ::std::os::raw::c_void, - ) -> Rboolean, ->; -#[doc = "Linked list element for storing the top-level task callbacks."] -pub type R_ToplevelCallbackEl = _ToplevelCallback; -#[doc = "Linked list element for storing the top-level task callbacks."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _ToplevelCallback { - #[doc = "the C routine to call."] - pub cb: R_ToplevelCallback, - #[doc = "the user-level data to pass to the call to cb()"] - pub data: *mut ::std::os::raw::c_void, - #[doc = "Called when the callback is removed."] - pub finalizer: ::std::option::Option, - #[doc = "a name by which to identify this element."] - pub name: *mut ::std::os::raw::c_char, - #[doc = "the next element in the linked list."] - pub next: *mut R_ToplevelCallbackEl, -} -#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] -pub type R_ObjectTable = _R_ObjectTable; -#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] -pub type Rdb_exists = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> Rboolean, ->; -pub type Rdb_get = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - canCache: *mut Rboolean, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_remove = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - arg1: *mut R_ObjectTable, - ) -> ::std::os::raw::c_int, ->; -pub type Rdb_assign = ::std::option::Option< - unsafe extern "C" fn( - name: *const ::std::os::raw::c_char, - value: SEXP, - arg1: *mut R_ObjectTable, - ) -> SEXP, ->; -pub type Rdb_objects = - ::std::option::Option SEXP>; -pub type Rdb_canCache = ::std::option::Option< - unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, ->; -pub type Rdb_onDetach = ::std::option::Option; -pub type Rdb_onAttach = ::std::option::Option; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _R_ObjectTable { - pub type_: ::std::os::raw::c_int, - pub cachedNames: *mut *mut ::std::os::raw::c_char, - pub active: Rboolean, - pub exists: Rdb_exists, - pub get: Rdb_get, - pub remove: Rdb_remove, - pub assign: Rdb_assign, - pub objects: Rdb_objects, - pub canCache: Rdb_canCache, - pub onDetach: Rdb_onDetach, - pub onAttach: Rdb_onAttach, - pub privateData: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type SEXP = *mut SEXPREC; +#[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] +pub type R_ToplevelCallback = ::std::option::Option< + unsafe extern "C" fn( + expr: SEXP, + value: SEXP, + succeeded: Rboolean, + visible: Rboolean, + arg1: *mut ::std::os::raw::c_void, + ) -> Rboolean, +>; +#[doc = "Linked list element for storing the top-level task callbacks."] +pub type R_ToplevelCallbackEl = _ToplevelCallback; +#[doc = "Linked list element for storing the top-level task callbacks."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _ToplevelCallback { + #[doc = "the C routine to call."] + pub cb: R_ToplevelCallback, + #[doc = "the user-level data to pass to the call to cb()"] + pub data: *mut ::std::os::raw::c_void, + #[doc = "Called when the callback is removed."] + pub finalizer: ::std::option::Option, + #[doc = "a name by which to identify this element."] + pub name: *mut ::std::os::raw::c_char, + #[doc = "the next element in the linked list."] + pub next: *mut R_ToplevelCallbackEl, +} +#[doc = "The following definitions are for callbacks to R functions and\nmethods related to user-level tables. This was implemented in a\nseparate package formerly available from Omegahat and these\ndeclarations allow the package to interface to the internal R code.\n\nSee https://developer.r-project.org/RObjectTables.pdf."] +pub type R_ObjectTable = _R_ObjectTable; +#[doc = "Do we actually need the exists() since it is never called but R\nuses get to see if the symbol is bound to anything?"] +pub type Rdb_exists = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> Rboolean, +>; +pub type Rdb_get = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + canCache: *mut Rboolean, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_remove = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + arg1: *mut R_ObjectTable, + ) -> ::std::os::raw::c_int, +>; +pub type Rdb_assign = ::std::option::Option< + unsafe extern "C" fn( + name: *const ::std::os::raw::c_char, + value: SEXP, + arg1: *mut R_ObjectTable, + ) -> SEXP, +>; +pub type Rdb_objects = + ::std::option::Option SEXP>; +pub type Rdb_canCache = ::std::option::Option< + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, arg1: *mut R_ObjectTable) -> Rboolean, +>; +pub type Rdb_onDetach = ::std::option::Option; +pub type Rdb_onAttach = ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _R_ObjectTable { + pub type_: ::std::os::raw::c_int, + pub cachedNames: *mut *mut ::std::os::raw::c_char, + pub active: Rboolean, + pub exists: Rdb_exists, + pub get: Rdb_get, + pub remove: Rdb_remove, + pub assign: Rdb_assign, + pub objects: Rdb_objects, + pub canCache: Rdb_canCache, + pub onDetach: Rdb_onDetach, + pub onAttach: Rdb_onAttach, + pub privateData: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Complex-linux-aarch64-R4.2.rs b/bindings/bindings-Complex-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..6f3bd892 --- /dev/null +++ b/bindings/bindings-Complex-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-linux-x86_64-R4.2.rs b/bindings/bindings-Complex-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..6f3bd892 --- /dev/null +++ b/bindings/bindings-Complex-linux-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-aarch64-R4.2.rs b/bindings/bindings-Complex-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..ed0f57ff --- /dev/null +++ b/bindings/bindings-Complex-macos-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-macos-x86_64-R4.2.rs b/bindings/bindings-Complex-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..ed0f57ff --- /dev/null +++ b/bindings/bindings-Complex-macos-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.2.rs b/bindings/bindings-Complex-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..973ddcf5 --- /dev/null +++ b/bindings/bindings-Complex-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.3.rs b/bindings/bindings-Complex-windows-x86_64-R4.3.rs index 69b4a9b3..cf2f17cc 100644 --- a/bindings/bindings-Complex-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Complex-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/bindings/bindings-Complex-windows-x86_64-R4.4.rs index c01199fc..aa1dfb2c 100644 --- a/bindings/bindings-Complex-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Complex-windows-x86_64-R4.4.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs index b086c2c2..9fb46ffe 100644 --- a/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Complex-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} diff --git a/bindings/bindings-Connections-linux-aarch64-R4.2.rs b/bindings/bindings-Connections-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a4ffc397 --- /dev/null +++ b/bindings/bindings-Connections-linux-aarch64-R4.2.rs @@ -0,0 +1,103 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} diff --git a/bindings/bindings-Connections-linux-x86_64-R4.2.rs b/bindings/bindings-Connections-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..7e798068 --- /dev/null +++ b/bindings/bindings-Connections-linux-x86_64-R4.2.rs @@ -0,0 +1,112 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-macos-aarch64-R4.2.rs b/bindings/bindings-Connections-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..debbf089 --- /dev/null +++ b/bindings/bindings-Connections-macos-aarch64-R4.2.rs @@ -0,0 +1,105 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-macos-x86_64-R4.2.rs b/bindings/bindings-Connections-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..cf036f5a --- /dev/null +++ b/bindings/bindings-Connections-macos-x86_64-R4.2.rs @@ -0,0 +1,113 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __darwin_va_list = __builtin_va_list; +pub type va_list = __darwin_va_list; +pub type Rconnection = *mut Rconn; +#[repr(C)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: *mut __va_list_tag, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Connections-windows-x86_64-R4.2.rs b/bindings/bindings-Connections-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..5afd991d --- /dev/null +++ b/bindings/bindings-Connections-windows-x86_64-R4.2.rs @@ -0,0 +1,114 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/bindings/bindings-Connections-windows-x86_64-R4.3.rs index c5f9317f..ae8a5f80 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -1,114 +1,114 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/bindings/bindings-Connections-windows-x86_64-R4.4.rs index 604f6fe6..0b087cc9 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -1,114 +1,114 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs index 0171a192..b06f0861 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -1,114 +1,114 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_CONNECTIONS_VERSION: u32 = 1; +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +pub type Rconnection = *mut Rconn; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rconn { + pub class: *mut ::std::os::raw::c_char, + pub description: *mut ::std::os::raw::c_char, + #[doc = "the encoding of 'description'"] + pub enc: ::std::os::raw::c_int, + pub mode: [::std::os::raw::c_char; 5usize], + pub text: Rboolean, + pub isopen: Rboolean, + pub incomplete: Rboolean, + pub canread: Rboolean, + pub canwrite: Rboolean, + pub canseek: Rboolean, + pub blocking: Rboolean, + pub isGzcon: Rboolean, + pub open: ::std::option::Option Rboolean>, + #[doc = "routine closing after auto open"] + pub close: ::std::option::Option, + #[doc = "when closing connection"] + pub destroy: ::std::option::Option, + pub vfprintf: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: *const ::std::os::raw::c_char, + arg3: va_list, + ) -> ::std::os::raw::c_int, + >, + pub fgetc: + ::std::option::Option ::std::os::raw::c_int>, + pub fgetc_internal: + ::std::option::Option ::std::os::raw::c_int>, + pub seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut Rconn, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64, + >, + pub truncate: ::std::option::Option, + pub fflush: + ::std::option::Option ::std::os::raw::c_int>, + pub read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + pub write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_void, + arg2: usize, + arg3: usize, + arg4: *mut Rconn, + ) -> usize, + >, + #[doc = "number of lines, position on top line"] + pub nPushBack: ::std::os::raw::c_int, + #[doc = "number of lines, position on top line"] + pub posPushBack: ::std::os::raw::c_int, + pub PushBack: *mut *mut ::std::os::raw::c_char, + pub save: ::std::os::raw::c_int, + pub save2: ::std::os::raw::c_int, + pub encname: [::std::os::raw::c_char; 101usize], + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub inconv: *mut ::std::os::raw::c_void, + #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] + pub outconv: *mut ::std::os::raw::c_void, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub iconvbuff: [::std::os::raw::c_char; 25usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub oconvbuff: [::std::os::raw::c_char; 50usize], + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub next: *mut ::std::os::raw::c_char, + #[doc = "The idea here is that no MBCS char will ever not fit"] + pub init_out: [::std::os::raw::c_char; 25usize], + pub navail: ::std::os::raw::c_short, + pub inavail: ::std::os::raw::c_short, + pub EOF_signalled: Rboolean, + pub UTF8out: Rboolean, + pub id: *mut ::std::os::raw::c_void, + pub ex_ptr: *mut ::std::os::raw::c_void, + pub private: *mut ::std::os::raw::c_void, + #[doc = "for pipes etc"] + pub status: ::std::os::raw::c_int, + pub buff: *mut ::std::os::raw::c_uchar, + pub buff_len: usize, + pub buff_stored_len: usize, + pub buff_pos: usize, +} +pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/bindings/bindings-Constants-linux-aarch64-R4.2.rs b/bindings/bindings-Constants-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..7dc3fd05 --- /dev/null +++ b/bindings/bindings-Constants-linux-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-linux-x86_64-R4.2.rs b/bindings/bindings-Constants-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..7dc3fd05 --- /dev/null +++ b/bindings/bindings-Constants-linux-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-aarch64-R4.2.rs b/bindings/bindings-Constants-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b3330fef --- /dev/null +++ b/bindings/bindings-Constants-macos-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-macos-x86_64-R4.2.rs b/bindings/bindings-Constants-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b3330fef --- /dev/null +++ b/bindings/bindings-Constants-macos-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.2.rs b/bindings/bindings-Constants-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..83ee4e89 --- /dev/null +++ b/bindings/bindings-Constants-windows-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.3.rs b/bindings/bindings-Constants-windows-x86_64-R4.3.rs index d7292722..e9c9c0fa 100644 --- a/bindings/bindings-Constants-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Constants-windows-x86_64-R4.3.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/bindings/bindings-Constants-windows-x86_64-R4.4.rs index 0ce5e96b..6df00fab 100644 --- a/bindings/bindings-Constants-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Constants-windows-x86_64-R4.4.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs index 499a1ae5..3fe2163d 100644 --- a/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Constants-windows-x86_64-R4.5-devel.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const PI: f64 = 3.141592653589793; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Error-linux-aarch64-R4.2.rs b/bindings/bindings-Error-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..53d46b6e --- /dev/null +++ b/bindings/bindings-Error-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-linux-x86_64-R4.2.rs b/bindings/bindings-Error-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..53d46b6e --- /dev/null +++ b/bindings/bindings-Error-linux-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-aarch64-R4.2.rs b/bindings/bindings-Error-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3cc0e17d --- /dev/null +++ b/bindings/bindings-Error-macos-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-macos-x86_64-R4.2.rs b/bindings/bindings-Error-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3cc0e17d --- /dev/null +++ b/bindings/bindings-Error-macos-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.2.rs b/bindings/bindings-Error-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..e7557858 --- /dev/null +++ b/bindings/bindings-Error-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.3.rs b/bindings/bindings-Error-windows-x86_64-R4.3.rs index 556a7b36..baba3c4e 100644 --- a/bindings/bindings-Error-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Error-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.4.rs b/bindings/bindings-Error-windows-x86_64-R4.4.rs index 00bdffcc..f86f6cb3 100644 --- a/bindings/bindings-Error-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Error-windows-x86_64-R4.4.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs index bc0ee51c..87ab4422 100644 --- a/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Error-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; + pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; + pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; + pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); + pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); +} diff --git a/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs b/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..d7c63b4c --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs b/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..d7c63b4c --- /dev/null +++ b/bindings/bindings-GetX11Image-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs b/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..072e4a68 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs b/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..072e4a68 --- /dev/null +++ b/bindings/bindings-GetX11Image-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "used by package tkrplot"] + pub fn R_GetX11Image( + d: ::std::os::raw::c_int, + pximage: *mut ::std::os::raw::c_void, + pwidth: *mut ::std::os::raw::c_int, + pheight: *mut ::std::os::raw::c_int, + ) -> Rboolean; +} diff --git a/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e76d8570 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-aarch64-R4.2.rs @@ -0,0 +1,339 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e76d8570 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-linux-x86_64-R4.2.rs @@ -0,0 +1,339 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..6819de86 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-aarch64-R4.2.rs @@ -0,0 +1,347 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..6819de86 --- /dev/null +++ b/bindings/bindings-GraphicsDevice-macos-x86_64-R4.2.rs @@ -0,0 +1,347 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..efb0ff4f --- /dev/null +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs @@ -0,0 +1,355 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs index ebc291eb..d3c3f2a2 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -1,368 +1,368 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs index ff2f15f0..cbcd8eb2 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -1,368 +1,368 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs index 5324713c..e462f49c 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -1,368 +1,368 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_USE_PROTOTYPES: u32 = 1; +pub const leftButton: u32 = 1; +pub const middleButton: u32 = 2; +pub const rightButton: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +#[repr(i32)] +#[doc = "These give the indices of some known keys"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_KeyName { + knUNKNOWN = -1, + knLEFT = 0, + knUP = 1, + knRIGHT = 2, + knDOWN = 3, + knF1 = 4, + knF2 = 5, + knF3 = 6, + knF4 = 7, + knF5 = 8, + knF6 = 9, + knF7 = 10, + knF8 = 11, + knF9 = 12, + knF10 = 13, + knF11 = 14, + knF12 = 15, + knPGUP = 16, + knPGDN = 17, + knEND = 18, + knHOME = 19, + knINS = 20, + knDEL = 21, +} +#[repr(u32)] +#[doc = "These are the three possible mouse events"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_MouseEvent { + meMouseDown = 0, + meMouseUp = 1, + meMouseMove = 2, +} +extern "C" { + #[doc = "Properly declared version of devNumber"] + pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; + #[doc = "How many devices exist ? (>= 1)"] + pub fn Rf_NumDevices() -> ::std::os::raw::c_int; + #[doc = "Check for an available device slot"] + pub fn R_CheckDeviceAvailable(); + pub fn R_CheckDeviceAvailableBool() -> Rboolean; + #[doc = "Return the number of the current device."] + pub fn Rf_curDevice() -> ::std::os::raw::c_int; + #[doc = "Return the number of the next device."] + pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Return the number of the previous device."] + pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Make the specified device (specified by number) the current device"] + pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + #[doc = "Kill device which is identified by number."] + pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); + pub fn Rf_NoDevices() -> ::std::os::raw::c_int; + pub fn Rf_NewFrameConfirm(arg1: pDevDesc); + pub fn Rf_doMouseEvent( + dd: pDevDesc, + event: R_MouseEvent, + buttons: ::std::os::raw::c_int, + x: f64, + y: f64, + ); + pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); + pub fn Rf_doIdle(dd: pDevDesc); + pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; + pub static mut R_interrupts_suspended: Rboolean; + pub static mut R_interrupts_pending: ::std::os::raw::c_int; + pub fn Rf_onintr(); + pub static mut mbcslocale: Rboolean; + #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] + pub fn Rf_AdobeSymbol2utf8( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + nwork: usize, + usePUA: Rboolean, + ) -> *mut ::std::os::raw::c_void; + pub fn Rf_utf8toAdobeSymbol( + out: *mut ::std::os::raw::c_char, + in_: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( + in_: *const ::std::os::raw::c_char, + usePUA: Rboolean, + ) -> *const ::std::os::raw::c_char; + #[doc = "Translates Unicode point to UTF-8"] + pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; +} diff --git a/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c4244cf3 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-aarch64-R4.2.rs @@ -0,0 +1,500 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c4244cf3 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-linux-x86_64-R4.2.rs @@ -0,0 +1,500 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..129689bb --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-aarch64-R4.2.rs @@ -0,0 +1,503 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..129689bb --- /dev/null +++ b/bindings/bindings-GraphicsEngine-macos-x86_64-R4.2.rs @@ -0,0 +1,503 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..a5fd1310 --- /dev/null +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs @@ -0,0 +1,757 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_version: u32 = 15; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid tranversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs index 6a630b9d..47c6a445 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -1,800 +1,800 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs index a90c7306..7fc30520 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -1,800 +1,800 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs index 4c22d9b7..8b86fe53 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -1,800 +1,800 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_GE_definitions: u32 = 13; +pub const R_GE_deviceClip: u32 = 14; +pub const R_GE_group: u32 = 15; +pub const R_GE_glyphs: u32 = 16; +pub const R_GE_version: u32 = 16; +pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; +pub const LTY_BLANK: i32 = -1; +pub const LTY_SOLID: u32 = 0; +pub const LTY_DASHED: u32 = 68; +pub const LTY_DOTTED: u32 = 49; +pub const LTY_DOTDASH: u32 = 13361; +pub const LTY_LONGDASH: u32 = 55; +pub const LTY_TWODASH: u32 = 9762; +pub const DEG2RAD: f64 = 0.017453292519943295; +pub const R_GE_linearGradientPattern: u32 = 1; +pub const R_GE_radialGradientPattern: u32 = 2; +pub const R_GE_tilingPattern: u32 = 3; +pub const R_GE_patternExtendPad: u32 = 1; +pub const R_GE_patternExtendRepeat: u32 = 2; +pub const R_GE_patternExtendReflect: u32 = 3; +pub const R_GE_patternExtendNone: u32 = 4; +pub const R_GE_compositeClear: u32 = 1; +pub const R_GE_compositeSource: u32 = 2; +pub const R_GE_compositeOver: u32 = 3; +pub const R_GE_compositeIn: u32 = 4; +pub const R_GE_compositeOut: u32 = 5; +pub const R_GE_compositeAtop: u32 = 6; +pub const R_GE_compositeDest: u32 = 7; +pub const R_GE_compositeDestOver: u32 = 8; +pub const R_GE_compositeDestIn: u32 = 9; +pub const R_GE_compositeDestOut: u32 = 10; +pub const R_GE_compositeDestAtop: u32 = 11; +pub const R_GE_compositeXor: u32 = 12; +pub const R_GE_compositeAdd: u32 = 13; +pub const R_GE_compositeSaturate: u32 = 14; +pub const R_GE_compositeMultiply: u32 = 15; +pub const R_GE_compositeScreen: u32 = 16; +pub const R_GE_compositeOverlay: u32 = 17; +pub const R_GE_compositeDarken: u32 = 18; +pub const R_GE_compositeLighten: u32 = 19; +pub const R_GE_compositeColorDodge: u32 = 20; +pub const R_GE_compositeColorBurn: u32 = 21; +pub const R_GE_compositeHardLight: u32 = 22; +pub const R_GE_compositeSoftLight: u32 = 23; +pub const R_GE_compositeDifference: u32 = 24; +pub const R_GE_compositeExclusion: u32 = 25; +pub const R_GE_nonZeroWindingRule: u32 = 1; +pub const R_GE_evenOddRule: u32 = 2; +pub const R_GE_alphaMask: u32 = 1; +pub const R_GE_luminanceMask: u32 = 2; +pub const R_GE_capability_semiTransparency: u32 = 0; +pub const R_GE_capability_transparentBackground: u32 = 1; +pub const R_GE_capability_rasterImage: u32 = 2; +pub const R_GE_capability_capture: u32 = 3; +pub const R_GE_capability_locator: u32 = 4; +pub const R_GE_capability_events: u32 = 5; +pub const R_GE_capability_patterns: u32 = 6; +pub const R_GE_capability_clippingPaths: u32 = 7; +pub const R_GE_capability_masks: u32 = 8; +pub const R_GE_capability_compositing: u32 = 9; +pub const R_GE_capability_transformations: u32 = 10; +pub const R_GE_capability_paths: u32 = 11; +pub const R_GE_capability_glyphs: u32 = 12; +pub const R_GE_text_style_normal: u32 = 1; +pub const R_GE_text_style_italic: u32 = 2; +pub const R_GE_text_style_oblique: u32 = 3; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEUnit { + #[doc = "native device coordinates (rasters)"] + GE_DEVICE = 0, + #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] + GE_NDC = 1, + GE_INCHES = 2, + GE_CM = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum GEevent { + #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] + GE_InitState = 0, + #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] + GE_FinaliseState = 1, + #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] + GE_SaveState = 2, + #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] + GE_RestoreState = 6, + #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] + GE_CopyState = 3, + #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] + GE_SaveSnapshotState = 4, + #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] + GE_RestoreSnapshotState = 5, + #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] + GE_CheckPlot = 7, + #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] + GE_ScalePS = 8, +} +#[repr(u32)] +#[doc = "Some line end/join constants"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_lineend { + GE_ROUND_CAP = 1, + GE_BUTT_CAP = 2, + GE_SQUARE_CAP = 3, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_GE_linejoin { + GE_ROUND_JOIN = 1, + GE_MITRE_JOIN = 2, + GE_BEVEL_JOIN = 3, +} +#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] +#[repr(C)] +pub struct R_GE_gcontext { + #[doc = "pen colour (lines, text, borders, ...)"] + pub col: ::std::os::raw::c_int, + #[doc = "fill colour (for polygons, circles, rects, ...)"] + pub fill: ::std::os::raw::c_int, + #[doc = "Gamma correction"] + pub gamma: f64, + #[doc = "Line width (roughly number of pixels)"] + pub lwd: f64, + #[doc = "Line type (solid, dashed, dotted, ...)"] + pub lty: ::std::os::raw::c_int, + #[doc = "Line end"] + pub lend: R_GE_lineend, + #[doc = "line join"] + pub ljoin: R_GE_linejoin, + #[doc = "line mitre"] + pub lmitre: f64, + #[doc = "Character expansion (font size = fontsize*cex)"] + pub cex: f64, + #[doc = "Font size in points"] + pub ps: f64, + #[doc = "Line height (multiply by font size)"] + pub lineheight: f64, + #[doc = "Font face (plain, italic, bold, ...)"] + pub fontface: ::std::os::raw::c_int, + #[doc = "Font family"] + pub fontfamily: [::std::os::raw::c_char; 201usize], + #[doc = "Reference to a pattern fill"] + pub patternFill: SEXP, +} +pub type pGEcontext = *mut R_GE_gcontext; +#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] +pub type DevDesc = _DevDesc; +pub type pDevDesc = *mut DevDesc; +#[repr(C)] +pub struct _DevDesc { + #[doc = "left raster coordinate"] + pub left: f64, + #[doc = "right raster coordinate"] + pub right: f64, + #[doc = "bottom raster coordinate"] + pub bottom: f64, + #[doc = "top raster coordinate"] + pub top: f64, + #[doc = "R only has the notion of a rectangular clipping region"] + pub clipLeft: f64, + pub clipRight: f64, + pub clipBottom: f64, + pub clipTop: f64, + #[doc = "x character addressing offset - unused"] + pub xCharOffset: f64, + #[doc = "y character addressing offset"] + pub yCharOffset: f64, + #[doc = "1/2 interline space as frac of line height"] + pub yLineBias: f64, + #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] + pub ipr: [f64; 2usize], + #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] + pub cra: [f64; 2usize], + #[doc = "(initial) Device Gamma Correction"] + pub gamma: f64, + #[doc = "Device-level clipping"] + pub canClip: Rboolean, + #[doc = "can the gamma factor be modified?"] + pub canChangeGamma: Rboolean, + #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] + pub canHAdj: ::std::os::raw::c_int, + #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] + pub startps: f64, + #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] + pub startcol: ::std::os::raw::c_int, + #[doc = "sets par(\"bg\") and gpar(\"fill\")"] + pub startfill: ::std::os::raw::c_int, + pub startlty: ::std::os::raw::c_int, + pub startfont: ::std::os::raw::c_int, + pub startgamma: f64, + #[doc = "pointer to device specific parameters"] + pub deviceSpecific: *mut ::std::os::raw::c_void, + #[doc = "toggle for initial display list status"] + pub displayListOn: Rboolean, + #[doc = "can the device generate mousedown events"] + pub canGenMouseDown: Rboolean, + #[doc = "can the device generate mousemove events"] + pub canGenMouseMove: Rboolean, + #[doc = "can the device generate mouseup events"] + pub canGenMouseUp: Rboolean, + #[doc = "can the device generate keyboard events"] + pub canGenKeybd: Rboolean, + #[doc = "can the device generate idle events"] + pub canGenIdle: Rboolean, + #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] + pub gettingEvent: Rboolean, + pub activate: ::std::option::Option, + pub circle: ::std::option::Option< + unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub clip: ::std::option::Option< + unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), + >, + pub close: ::std::option::Option, + pub deactivate: ::std::option::Option, + pub locator: ::std::option::Option< + unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, + >, + pub line: ::std::option::Option< + unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub metricInfo: ::std::option::Option< + unsafe extern "C" fn( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pDevDesc, + ), + >, + pub mode: + ::std::option::Option, + pub newPage: ::std::option::Option, + pub polygon: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub polyline: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub rect: ::std::option::Option< + unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), + >, + pub path: ::std::option::Option< + unsafe extern "C" fn( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub raster: ::std::option::Option< + unsafe extern "C" fn( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + rot: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub cap: ::std::option::Option SEXP>, + pub size: ::std::option::Option< + unsafe extern "C" fn( + left: *mut f64, + right: *mut f64, + bottom: *mut f64, + top: *mut f64, + dd: pDevDesc, + ), + >, + pub strWidth: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub text: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub onExit: ::std::option::Option, + #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] + pub getEvent: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, + >, + pub newFrameConfirm: ::std::option::Option Rboolean>, + #[doc = "and strWidthUTF8"] + pub hasTextUTF8: Rboolean, + pub textUTF8: ::std::option::Option< + unsafe extern "C" fn( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + rot: f64, + hadj: f64, + gc: pGEcontext, + dd: pDevDesc, + ), + >, + pub strWidthUTF8: ::std::option::Option< + unsafe extern "C" fn( + str_: *const ::std::os::raw::c_char, + gc: pGEcontext, + dd: pDevDesc, + ) -> f64, + >, + pub wantSymbolUTF8: Rboolean, + #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] + pub useRotatedTextInContour: Rboolean, + #[doc = "This is an environment holding event handlers."] + pub eventEnv: SEXP, + pub eventHelper: + ::std::option::Option, + pub holdflush: ::std::option::Option< + unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, + >, + #[doc = "1 = no, 2 = yes"] + pub haveTransparency: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = fully, 3 = semi"] + pub haveTransparentBg: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes, 3 = except for missing values"] + pub haveRaster: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveCapture: ::std::os::raw::c_int, + #[doc = "1 = no, 2 = yes"] + pub haveLocator: ::std::os::raw::c_int, + pub setPattern: + ::std::option::Option SEXP>, + pub releasePattern: ::std::option::Option, + pub setClipPath: + ::std::option::Option SEXP>, + pub releaseClipPath: ::std::option::Option, + pub setMask: + ::std::option::Option SEXP>, + pub releaseMask: ::std::option::Option, + #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] + pub deviceVersion: ::std::os::raw::c_int, + #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] + pub deviceClip: Rboolean, + pub defineGroup: ::std::option::Option< + unsafe extern "C" fn( + source: SEXP, + op: ::std::os::raw::c_int, + destination: SEXP, + dd: pDevDesc, + ) -> SEXP, + >, + pub useGroup: + ::std::option::Option, + pub releaseGroup: ::std::option::Option, + pub stroke: + ::std::option::Option, + pub fill: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub fillStroke: ::std::option::Option< + unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), + >, + pub capabilities: ::std::option::Option SEXP>, + pub glyph: ::std::option::Option< + unsafe extern "C" fn( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pDevDesc, + ), + >, + #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] + pub reserved: [::std::os::raw::c_char; 64usize], +} +pub type GEDevDesc = _GEDevDesc; +pub type GEcallback = ::std::option::Option< + unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct GESystemDesc { + #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] + pub systemSpecific: *mut ::std::os::raw::c_void, + #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] + pub callback: GEcallback, +} +#[repr(C)] +pub struct _GEDevDesc { + #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] + pub dev: pDevDesc, + #[doc = "toggle for display list status"] + pub displayListOn: Rboolean, + #[doc = "display list"] + pub displayList: SEXP, + #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] + pub DLlastElt: SEXP, + #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] + pub savedSnapshot: SEXP, + #[doc = "Has the device received any output?"] + pub dirty: Rboolean, + #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] + pub recordGraphics: Rboolean, + #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] + pub gesd: [*mut GESystemDesc; 24usize], + #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] + pub ask: Rboolean, + #[doc = "Is a device appending a path ?"] + pub appending: Rboolean, +} +pub type pGEDevDesc = *mut GEDevDesc; +#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] +pub type rcolor = ::std::os::raw::c_uint; +extern "C" { + pub fn R_GE_getVersion() -> ::std::os::raw::c_int; + pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); + #[doc = "map DevDesc to enclosing GEDevDesc"] + pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; + pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; + pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; + pub fn GEaddDevice(arg1: pGEDevDesc); + pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); + pub fn GEaddDevice2f( + arg1: pGEDevDesc, + arg2: *const ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + ); + pub fn GEkillDevice(arg1: pGEDevDesc); + pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; + pub fn GEdestroyDevDesc(dd: pGEDevDesc); + pub fn GEsystemState( + dd: pGEDevDesc, + index: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void; + pub fn GEregisterWithDevice(dd: pGEDevDesc); + pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); + pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); + pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; + pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; + pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; + #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] + pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; + pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; + #[doc = "Convert an internal colour specification to/from a colour name"] + pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; + #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] + pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; + pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; + pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; + pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; + pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; + pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); + pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); + pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPolyline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPolygon( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEXspline( + n: ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + s: *mut f64, + open: Rboolean, + repEnds: Rboolean, + draw: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> SEXP; + pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEPath( + x: *mut f64, + y: *mut f64, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + winding: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GERaster( + raster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + x: f64, + y: f64, + width: f64, + height: f64, + angle: f64, + interpolate: Rboolean, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GECap(dd: pGEDevDesc) -> SEXP; + pub fn GEText( + x: f64, + y: f64, + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); + pub fn GESymbol( + x: f64, + y: f64, + pch: ::std::os::raw::c_int, + size: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); + pub fn GEMetricInfo( + c: ::std::os::raw::c_int, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEStrWidth( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrHeight( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn GEStrMetric( + str_: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; + #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] + pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; + pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; + #[doc = "Raster operations"] + pub fn R_GE_rasterScale( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterInterpolate( + sraster: *mut ::std::os::raw::c_uint, + sw: ::std::os::raw::c_int, + sh: ::std::os::raw::c_int, + draster: *mut ::std::os::raw::c_uint, + dw: ::std::os::raw::c_int, + dh: ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedSize( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + wnew: *mut ::std::os::raw::c_int, + hnew: *mut ::std::os::raw::c_int, + ); + pub fn R_GE_rasterRotatedOffset( + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + botleft: ::std::os::raw::c_int, + xoff: *mut f64, + yoff: *mut f64, + ); + pub fn R_GE_rasterResizeForRotation( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + newRaster: *mut ::std::os::raw::c_uint, + wnew: ::std::os::raw::c_int, + hnew: ::std::os::raw::c_int, + gc: pGEcontext, + ); + pub fn R_GE_rasterRotate( + sraster: *mut ::std::os::raw::c_uint, + w: ::std::os::raw::c_int, + h: ::std::os::raw::c_int, + angle: f64, + draster: *mut ::std::os::raw::c_uint, + gc: pGEcontext, + perPixelAlpha: Rboolean, + ); + #[doc = "From plotmath.c"] + pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; + pub fn GEExpressionMetric( + expr: SEXP, + gc: pGEcontext, + ascent: *mut f64, + descent: *mut f64, + width: *mut f64, + dd: pGEDevDesc, + ); + pub fn GEMathText( + x: f64, + y: f64, + expr: SEXP, + xc: f64, + yc: f64, + rot: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + #[doc = "From plot3d.c : used in package clines"] + pub fn GEcontourLines( + x: *mut f64, + nx: ::std::os::raw::c_int, + y: *mut f64, + ny: ::std::os::raw::c_int, + z: *mut f64, + levels: *mut f64, + nl: ::std::os::raw::c_int, + ) -> SEXP; + #[doc = "From vfonts.c"] + pub fn R_GE_VStrWidth( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VStrHeight( + s: *const ::std::os::raw::c_char, + enc: cetype_t, + gc: pGEcontext, + dd: pGEDevDesc, + ) -> f64; + pub fn R_GE_VText( + x: f64, + y: f64, + s: *const ::std::os::raw::c_char, + enc: cetype_t, + x_justify: f64, + y_justify: f64, + rotation: f64, + gc: pGEcontext, + dd: pGEDevDesc, + ); + pub fn GEcurrentDevice() -> pGEDevDesc; + pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; + pub fn GEdirtyDevice(dd: pGEDevDesc); + pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; + pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; + pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); + pub fn GEinitDisplayList(dd: pGEDevDesc); + pub fn GEplayDisplayList(dd: pGEDevDesc); + pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); + pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; + pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); + pub fn GEonExit(); + pub fn GEnullDevice(); + pub fn Rf_CreateAtVector( + axp: *mut f64, + usr: *const f64, + nint: ::std::os::raw::c_int, + logflag: Rboolean, + ) -> SEXP; + pub fn Rf_GAxisPars( + min: *mut f64, + max: *mut f64, + n: *mut ::std::os::raw::c_int, + log: Rboolean, + axis: ::std::os::raw::c_int, + ); + #[doc = "Patterns - from ../../main/patterns.c"] + pub fn R_GE_isPattern(x: SEXP) -> Rboolean; + pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; + pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; + pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; + pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; + pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; + pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; + pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; + pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); + pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; + pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; + pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; + pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; + pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; + pub fn GEGlyph( + n: ::std::os::raw::c_int, + glyphs: *mut ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + font: SEXP, + size: f64, + colour: ::std::os::raw::c_int, + rot: f64, + dd: pGEDevDesc, + ); +} diff --git a/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs b/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c6e291d2 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs b/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c6e291d2 --- /dev/null +++ b/bindings/bindings-Itermacros-linux-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs b/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..96856491 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-aarch64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs b/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..96856491 --- /dev/null +++ b/bindings/bindings-Itermacros-macos-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..aba2823d --- /dev/null +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.2.rs @@ -0,0 +1,9 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs index bc0abc04..a18c08ad 100644 --- a/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.3.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs index b7f3a2ad..53952474 100644 --- a/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs index 23191500..3c8d37eb 100644 --- a/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Itermacros-windows-x86_64-R4.5-devel.rs @@ -1,9 +1,9 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const GET_REGION_BUFSIZE: u32 = 512; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Lapack-linux-aarch64-R4.2.rs b/bindings/bindings-Lapack-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..eb3e7353 --- /dev/null +++ b/bindings/bindings-Lapack-linux-aarch64-R4.2.rs @@ -0,0 +1,5345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-linux-x86_64-R4.2.rs b/bindings/bindings-Lapack-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..eb3e7353 --- /dev/null +++ b/bindings/bindings-Lapack-linux-x86_64-R4.2.rs @@ -0,0 +1,5345 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlabad_(small: *mut f64, large: *mut f64); + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-aarch64-R4.2.rs b/bindings/bindings-Lapack-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3ad303ea --- /dev/null +++ b/bindings/bindings-Lapack-macos-aarch64-R4.2.rs @@ -0,0 +1,5635 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-macos-x86_64-R4.2.rs b/bindings/bindings-Lapack-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3ad303ea --- /dev/null +++ b/bindings/bindings-Lapack-macos-x86_64-R4.2.rs @@ -0,0 +1,5635 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.2.rs b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..b820e782 --- /dev/null +++ b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs @@ -0,0 +1,5641 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs index f102caca..8984f1cb 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -1,6100 +1,6100 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK"] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row interchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row interchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const int* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings intended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together into a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); into a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* integers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row interchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const int* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. Compiler-specific, but\nint_least32_t in gfortran"] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs index d4347fe8..a1a941eb 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -1,6494 +1,6494 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> *mut ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] - pub fn zlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - select: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> *mut ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] - pub fn zgetri_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] - pub fn zsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn ztpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] - pub fn zlanhp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zhpcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhecon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - vs: *mut Rcomplex, - ldvs: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - w: *mut f64, - z: *mut Rcomplex, - ldz: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs index e32ff7d6..99e71b9e 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -1,6494 +1,6494 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> *mut ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] - pub fn zlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - select: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> *mut ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] - pub fn zgetri_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] - pub fn zsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn ztpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] - pub fn zlanhp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zhpcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhecon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - vs: *mut Rcomplex, - ldvs: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - w: *mut f64, - z: *mut Rcomplex, - ldz: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type L_fp = ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> *mut ::std::os::raw::c_int, +>; +extern "C" { + #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] + pub fn ilaver_( + major: *mut ::std::os::raw::c_int, + minor: *mut ::std::os::raw::c_int, + patch: *mut ::std::os::raw::c_int, + ); + #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] + pub fn dbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ncvt: *const ::std::os::raw::c_int, + nru: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] + pub fn ddisna_( + job: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + sep: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] + pub fn dgbbrd_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ncc: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + pt: *mut f64, + ldpt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dgbcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] + pub fn dgbequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] + pub fn dgbrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] + pub fn dgbsv_( + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] + pub fn dgbsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgbtrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] + pub fn dgbtrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] + pub fn dgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + scale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEBAL - balance a general real matrix A"] + pub fn dgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebd2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] + pub fn dgebrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] + pub fn dgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] + pub fn dgeequ_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] + pub fn dgeesx_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, + >, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vs: *mut f64, + ldvs: *const ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] + pub fn dgeevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + abnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehd2_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] + pub fn dgehrd_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] + pub fn dgelq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] + pub fn dgelqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] + pub fn dgels_( + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] + pub fn dgelss_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] + pub fn dgelsy_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *const f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] + pub fn dgeql2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] + pub fn dgeqlf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] + pub fn dgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] + pub fn dgeqr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] + pub fn dgeqrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dgerfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] + pub fn dgerq2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] + pub fn dgerqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] + pub fn dgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] + pub fn dgesvx_( + fact: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + r: *mut f64, + c: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetf2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] + pub fn dgetrf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] + pub fn dgetri_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] + pub fn dgetrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] + pub fn dggbak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + m: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] + pub fn dggbal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] + pub fn dgges_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delztg: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut f64, + arg2: *mut f64, + arg3: *mut f64, + ) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vsl: *mut f64, + ldvsl: *const ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] + pub fn dggglm_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + d: *mut f64, + x: *mut f64, + y: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] + pub fn dgghrd_( + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] + pub fn dgglse_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + d: *mut f64, + x: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] + pub fn dggqrf_( + n: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] + pub fn dggrqf_( + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + taua: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + taub: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] + pub fn dgtcon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] + pub fn dgtrfs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTSV - solve the equation\tA*X = B,"] + pub fn dgtsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] + pub fn dgtsvx_( + fact: *const ::std::os::raw::c_int, + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + dlf: *mut f64, + df: *mut f64, + duf: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] + pub fn dgttrf_( + n: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] + pub fn dgttrs_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] + pub fn dopgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dopmtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ap: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2l_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] + pub fn dorg2r_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] + pub fn dorgbr_( + vect: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] + pub fn dorghr_( + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgl2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] + pub fn dorglq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgql_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] + pub fn dorgqr_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] + pub fn dorgr2_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] + pub fn dorgrq_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] + pub fn dorgtr_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2l_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormhr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dorml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormql_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] + pub fn dormr2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormrq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] + pub fn dormtr_( + side: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] + pub fn dpbcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] + pub fn dpbequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpbrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + afb: *const f64, + ldafb: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbstf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dpbsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + afb: *mut f64, + ldafb: *const ::std::os::raw::c_int, + equed: *mut ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] + pub fn dpbtrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] + pub fn dpbtrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] + pub fn dpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] + pub fn dpoequ_( + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] + pub fn dporfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dposvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] + pub fn dpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] + pub fn dpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] + pub fn dpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] + pub fn dppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] + pub fn dppequ_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + s: *mut f64, + scond: *mut f64, + amax: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] + pub fn dpprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dppsvx_( + fact: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + afp: *mut f64, + equed: *const ::std::os::raw::c_char, + s: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] + pub fn dpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] + pub fn dpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] + pub fn dpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] + pub fn dptcon_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] + pub fn dpteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] + pub fn dptrfs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *const f64, + ef: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] + pub fn dptsv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] + pub fn dptsvx_( + fact: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + df: *mut f64, + ef: *mut f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] + pub fn dpttrf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] + pub fn dpttrs_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] + pub fn drscl_( + n: *const ::std::os::raw::c_int, + da: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] + pub fn dsbevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] + pub fn dsbgst_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] + pub fn dsbgv_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ka: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *const ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsbtrd_( + vect: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] + pub fn dspevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] + pub fn dspgst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] + pub fn dspgv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] + pub fn dsprfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dspsv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] + pub fn dspsvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + afp: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] + pub fn dsptrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] + pub fn dsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] + pub fn dsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] + pub fn dsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] + pub fn dstebz_( + range: *const ::std::os::raw::c_char, + order: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + d: *const f64, + e: *const f64, + m: *mut ::std::os::raw::c_int, + nsplit: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] + pub fn dstedc_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] + pub fn dstein_( + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + m: *const ::std::os::raw::c_int, + w: *const f64, + iblock: *const ::std::os::raw::c_int, + isplit: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] + pub fn dsteqr_( + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] + pub fn dsterf_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] + pub fn dstev_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] + pub fn dstevd_( + jobz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] + pub fn dstevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] + pub fn dsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] + pub fn dsyevx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] + pub fn dsyevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + vl: *const f64, + vu: *const f64, + il: *const ::std::os::raw::c_int, + iu: *const ::std::os::raw::c_int, + abstol: *const f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygs2_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] + pub fn dsygst_( + itype: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] + pub fn dsygv_( + itype: *const ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] + pub fn dsyrfs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *const f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] + pub fn dsysv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] + pub fn dsysvx_( + fact: *const ::std::os::raw::c_int, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + af: *mut f64, + ldaf: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + rcond: *mut f64, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytd2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] + pub fn dsytrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] + pub fn dsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] + pub fn dsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtbcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] + pub fn dtbrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtbtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] + pub fn dtgevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] + pub fn dtgsja_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + tola: *const f64, + tolb: *const f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + ncycle: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] + pub fn dtpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] + pub fn dtprfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] + pub fn dtptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] + pub fn dtptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] + pub fn dtrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] + pub fn dtrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] + pub fn dtrexc_( + compq: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ILST: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] + pub fn dtrrfs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + ferr: *mut f64, + berr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] + pub fn dtrsen_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + m: *mut ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] + pub fn dtrsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + vl: *const f64, + ldvl: *const ::std::os::raw::c_int, + vr: *const f64, + ldvr: *const ::std::os::raw::c_int, + s: *mut f64, + sep: *mut f64, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRSYL - solve the real Sylvester matrix equation"] + pub fn dtrsyl_( + trana: *const ::std::os::raw::c_char, + tranb: *const ::std::os::raw::c_char, + isgn: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] + pub fn dtrti2_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] + pub fn dtrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] + pub fn dtrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] + pub fn dhgeqz_( + job: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ILO: *const ::std::os::raw::c_int, + IHI: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] + pub fn dhsein_( + side: *const ::std::os::raw::c_char, + eigsrc: *const ::std::os::raw::c_char, + initv: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + mm: *const ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + ifaill: *mut ::std::os::raw::c_int, + ifailr: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] + pub fn dhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + h: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] + pub fn dlabad_(small: *mut f64, large: *mut f64); + #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] + pub fn dlabrd_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut f64, + taup: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] + pub fn dlacon_( + n: *const ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + isgn: *mut ::std::os::raw::c_int, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + ); + #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] + pub fn dlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLADIV - perform complex division in real arithmetic"] + pub fn dladiv_( + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + p: *mut f64, + q: *mut f64, + ); + #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] + pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); + #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] + pub fn dlaebz_( + ijob: *const ::std::os::raw::c_int, + nitmax: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + mmax: *const ::std::os::raw::c_int, + minp: *const ::std::os::raw::c_int, + nbmin: *const ::std::os::raw::c_int, + abstol: *const f64, + reltol: *const f64, + pivmin: *const f64, + d: *mut f64, + e: *mut f64, + e2: *mut f64, + nval: *mut ::std::os::raw::c_int, + ab: *mut f64, + c: *mut f64, + mout: *mut ::std::os::raw::c_int, + nab: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] + pub fn dlaed0_( + icompq: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + qstore: *mut f64, + ldqs: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed2_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *mut f64, + z: *mut f64, + dlamda: *mut f64, + w: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + indxc: *mut ::std::os::raw::c_int, + indxp: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] + pub fn dlaed3_( + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *mut f64, + q2: *mut f64, + indx: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + w: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] + pub fn dlaed4_( + n: *const ::std::os::raw::c_int, + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *const f64, + rho: *const f64, + dlam: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] + pub fn dlaed5_( + i: *const ::std::os::raw::c_int, + d: *const f64, + z: *const f64, + delta: *mut f64, + rho: *const f64, + dlam: *mut f64, + ); + #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] + pub fn dlaed6_( + kniter: *const ::std::os::raw::c_int, + orgati: *const ::std::os::raw::c_int, + rho: *const f64, + d: *const f64, + z: *const f64, + finit: *const f64, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] + pub fn dlaed7_( + icompq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *mut ::std::os::raw::c_int, + rho: *const f64, + cutpnt: *const ::std::os::raw::c_int, + qstore: *mut f64, + qptr: *mut f64, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] + pub fn dlaed8_( + icompq: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + qsiz: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + indxq: *const ::std::os::raw::c_int, + rho: *mut f64, + cutpnt: *const ::std::os::raw::c_int, + z: *const f64, + dlamda: *mut f64, + q2: *mut f64, + ldq2: *const ::std::os::raw::c_int, + w: *mut f64, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + indxp: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] + pub fn dlaed9_( + k: *const ::std::os::raw::c_int, + kstart: *const ::std::os::raw::c_int, + kstop: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + rho: *const f64, + dlamda: *const f64, + w: *const f64, + s: *mut f64, + lds: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] + pub fn dlaeda_( + n: *const ::std::os::raw::c_int, + tlvls: *const ::std::os::raw::c_int, + curlvl: *const ::std::os::raw::c_int, + curpbm: *const ::std::os::raw::c_int, + prmptr: *const ::std::os::raw::c_int, + perm: *const ::std::os::raw::c_int, + givptr: *const ::std::os::raw::c_int, + givcol: *const ::std::os::raw::c_int, + givnum: *const f64, + q: *const f64, + qptr: *const ::std::os::raw::c_int, + z: *mut f64, + ztemp: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] + pub fn dlaein_( + rightv: *const ::std::os::raw::c_int, + noinit: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + h: *const f64, + ldh: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + vr: *mut f64, + vi: *mut f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + work: *mut f64, + eps3: *const f64, + smlnum: *const f64, + bignum: *const f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] + pub fn dlaev2_( + a: *const f64, + b: *const f64, + c: *const f64, + rt1: *mut f64, + rt2: *mut f64, + cs1: *mut f64, + sn1: *mut f64, + ); + #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] + pub fn dlaexc_( + wantq: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + j1: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] + pub fn dlag2_( + a: *const f64, + lda: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + safmin: *const f64, + scale1: *mut f64, + scale2: *mut f64, + wr1: *mut f64, + wr2: *mut f64, + wi: *mut f64, + ); + #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] + pub fn dlags2_( + upper: *const ::std::os::raw::c_int, + a1: *const f64, + a2: *const f64, + a3: *const f64, + b1: *const f64, + b2: *const f64, + b3: *const f64, + csu: *mut f64, + snu: *mut f64, + csv: *mut f64, + snv: *mut f64, + csq: *mut f64, + snq: *mut f64, + ); + #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] + pub fn dlagtf_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lambda: *const f64, + b: *mut f64, + c: *mut f64, + tol: *const f64, + d: *mut f64, + in_: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] + pub fn dlagtm_( + trans: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + alpha: *const f64, + dl: *const f64, + d: *const f64, + du: *const f64, + x: *const f64, + ldx: *const ::std::os::raw::c_int, + beta: *const f64, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] + pub fn dlagts_( + job: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + b: *const f64, + c: *const f64, + d: *const f64, + in_: *const ::std::os::raw::c_int, + y: *mut f64, + tol: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] + pub fn dlahqr_( + wantt: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + ilo: *const ::std::os::raw::c_int, + ihi: *const ::std::os::raw::c_int, + H: *mut f64, + ldh: *const ::std::os::raw::c_int, + wr: *mut f64, + wi: *mut f64, + iloz: *const ::std::os::raw::c_int, + ihiz: *const ::std::os::raw::c_int, + z: *mut f64, + ldz: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] + pub fn dlaic1_( + job: *const ::std::os::raw::c_int, + j: *const ::std::os::raw::c_int, + x: *const f64, + sest: *const f64, + w: *const f64, + gamma: *const f64, + sestpr: *mut f64, + s: *mut f64, + c: *mut f64, + ); + #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] + pub fn dlaln2_( + ltrans: *const ::std::os::raw::c_int, + na: *const ::std::os::raw::c_int, + nw: *const ::std::os::raw::c_int, + smin: *const f64, + ca: *const f64, + a: *const f64, + lda: *const ::std::os::raw::c_int, + d1: *const f64, + d2: *const f64, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + wr: *const f64, + wi: *const f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + scale: *mut f64, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAMCH - determine double precision machine parameters"] + pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; + #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] + pub fn dlamrg_( + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + a: *const f64, + dtrd1: *const ::std::os::raw::c_int, + dtrd2: *const ::std::os::raw::c_int, + index: *mut ::std::os::raw::c_int, + ); + #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] + pub fn dlangb_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] + pub fn dlange_( + norm: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] + pub fn dlangt_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + dl: *const f64, + d: *const f64, + du: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] + pub fn dlanhs_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] + pub fn dlansb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] + pub fn dlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] + pub fn dlanst_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *const f64, + e: *const f64, + arg1: usize, + ) -> f64; + #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] + pub fn dlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] + pub fn dlantb_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] + pub fn dlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] + pub fn dlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] + pub fn dlanv2_( + a: *mut f64, + b: *mut f64, + c: *mut f64, + d: *mut f64, + rt1r: *mut f64, + rt1i: *mut f64, + rt2r: *mut f64, + rt2i: *mut f64, + cs: *mut f64, + sn: *mut f64, + ); + #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] + pub fn dlapll_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + ssmin: *mut f64, + ); + #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] + pub fn dlapmt_( + forwrd: *const ::std::os::raw::c_int, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + ); + #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] + pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; + #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] + pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; + #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] + pub fn dlaqgb_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] + pub fn dlaqge_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + r: *mut f64, + c: *mut f64, + rowcnd: *mut f64, + colcnd: *mut f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + ); + #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] + pub fn dlaqsb_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *mut f64, + ldab: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ); + #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsp_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut f64, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] + pub fn dlaqsy_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *const f64, + scond: *const f64, + amax: *const f64, + equed: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] + pub fn dlaqtr_( + ltran: *const ::std::os::raw::c_int, + lreal: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + b: *const f64, + w: *const f64, + scale: *mut f64, + x: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] + pub fn dlar2v_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + y: *mut f64, + z: *mut f64, + incx: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarf_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] + pub fn dlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *const f64, + ldv: *const ::std::os::raw::c_int, + t: *const f64, + ldt: *const ::std::os::raw::c_int, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] + pub fn dlarfg_( + n: *const ::std::os::raw::c_int, + alpha: *const f64, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + tau: *mut f64, + ); + #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] + pub fn dlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + tau: *const f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] + pub fn dlarfx_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + tau: *const f64, + c: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] + pub fn dlargv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *mut f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] + pub fn dlarnv_( + idist: *const ::std::os::raw::c_int, + iseed: *mut ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + x: *mut f64, + ); + #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] + pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); + #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] + pub fn dlartv_( + n: *const ::std::os::raw::c_int, + x: *mut f64, + incx: *const ::std::os::raw::c_int, + y: *mut f64, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + incc: *const ::std::os::raw::c_int, + ); + #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] + pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); + #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] + pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); + #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] + pub fn dlascl_( + type_: *const ::std::os::raw::c_char, + kl: *const ::std::os::raw::c_int, + ku: *const ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] + pub fn dlaset_( + uplo: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] + pub fn dlasq1_( + n: *const ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] + pub fn dlasq2_( + m: *const ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + sup: *mut f64, + kend: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] + pub fn dlasq3_( + n: *mut ::std::os::raw::c_int, + q: *mut f64, + e: *mut f64, + qq: *mut f64, + ee: *mut f64, + sup: *mut f64, + sigma: *mut f64, + kend: *mut ::std::os::raw::c_int, + off: *mut ::std::os::raw::c_int, + iphase: *mut ::std::os::raw::c_int, + iconv: *const ::std::os::raw::c_int, + eps: *const f64, + tol2: *const f64, + small2: *const f64, + ); + #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] + pub fn dlasq4_( + n: *const ::std::os::raw::c_int, + q: *const f64, + e: *const f64, + tau: *mut f64, + sup: *mut f64, + ); + #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] + pub fn dlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] + pub fn dlasrt_( + id: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + d: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] + pub fn dlassq_( + n: *const ::std::os::raw::c_int, + x: *const f64, + incx: *const ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] + pub fn dlasv2_( + f: *const f64, + g: *const f64, + h: *const f64, + ssmin: *mut f64, + ssmax: *mut f64, + snr: *mut f64, + csr: *mut f64, + snl: *mut f64, + csl: *mut f64, + ); + #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] + pub fn dlaswp_( + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + k1: *const ::std::os::raw::c_int, + k2: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + incx: *const ::std::os::raw::c_int, + ); + #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] + pub fn dlasy2_( + ltranl: *const ::std::os::raw::c_int, + ltranr: *const ::std::os::raw::c_int, + isgn: *const ::std::os::raw::c_int, + n1: *const ::std::os::raw::c_int, + n2: *const ::std::os::raw::c_int, + tl: *const f64, + ldtl: *const ::std::os::raw::c_int, + tr: *const f64, + ldtr: *const ::std::os::raw::c_int, + b: *const f64, + ldb: *const ::std::os::raw::c_int, + scale: *mut f64, + x: *mut f64, + ldx: *const ::std::os::raw::c_int, + xnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] + pub fn dlasyf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + kb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] + pub fn dlatbs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + kd: *const ::std::os::raw::c_int, + ab: *const f64, + ldab: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] + pub fn dlatps_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const f64, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] + pub fn dlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + e: *mut f64, + tau: *mut f64, + w: *mut f64, + ldw: *const ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] + pub fn dlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const f64, + lda: *const ::std::os::raw::c_int, + x: *mut f64, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauu2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] + pub fn dlauum_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] + pub fn izmax1_( + n: *const ::std::os::raw::c_int, + cx: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_int; + #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] + pub fn zgecon_( + norm: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZGESV computes the solution to a complex system of linear equations"] + pub fn zgesv_( + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] + pub fn zgeqp3_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] + pub fn zunmqr_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRTRS solves triangular systems"] + pub fn ztrtrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesvd_( + jobu: *const ::std::os::raw::c_char, + jobvt: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] + pub fn zheev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + w: *mut f64, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] + pub fn zgeev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + wr: *mut Rcomplex, + vl: *mut Rcomplex, + ldvl: *const ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] + pub fn zlacn2_( + n: *const ::std::os::raw::c_int, + v: *mut Rcomplex, + x: *mut Rcomplex, + est: *mut f64, + kase: *mut ::std::os::raw::c_int, + isave: *mut ::std::os::raw::c_int, + ); + #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] + pub fn zlansp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlansy_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] + pub fn zlantr_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] + pub fn dzsum1_( + n: *const ::std::os::raw::c_int, + CX: *mut Rcomplex, + incx: *const ::std::os::raw::c_int, + ) -> f64; + #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] + pub fn zpotrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrf2_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpotrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zppcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *const f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] + pub fn dbdsdc_( + uplo: *const ::std::os::raw::c_char, + compq: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + q: *mut f64, + iq: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dgesc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + rhs: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + scale: *mut f64, + ); + #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] + pub fn dgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dgetc2_( + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggesx_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + delctg: L_fp, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dggev_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dggevx_( + balanc: *const ::std::os::raw::c_char, + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + sense: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + lscale: *mut f64, + rscale: *mut f64, + abnrm: *mut f64, + bbnrm: *mut f64, + rconde: *mut f64, + rcondv: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dgtts2_( + itrans: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + dl: *mut f64, + d: *mut f64, + du: *mut f64, + du2: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dlagv2_( + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + csl: *mut f64, + snl: *mut f64, + csr: *mut f64, + snr: *mut f64, + ); + pub fn dlals0_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsa_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + bx: *mut f64, + ldbx: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlalsd_( + uplo: *const ::std::os::raw::c_char, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlamc1_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + ieee1: *mut *mut ::std::os::raw::c_int, + ); + pub fn dlamc2_( + beta: *mut ::std::os::raw::c_int, + t: *mut ::std::os::raw::c_int, + rnd: *mut ::std::os::raw::c_int, + eps: *mut f64, + emin: *mut ::std::os::raw::c_int, + rmin: *mut f64, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; + pub fn dlamc4_( + emin: *mut ::std::os::raw::c_int, + start: *mut f64, + base: *mut ::std::os::raw::c_int, + ); + pub fn dlamc5_( + beta: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + emin: *mut ::std::os::raw::c_int, + ieee: *mut ::std::os::raw::c_int, + emax: *mut ::std::os::raw::c_int, + rmax: *mut f64, + ); + pub fn dlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + work: *mut f64, + ); + pub fn dlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut f64, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn dlar1v_( + n: *mut ::std::os::raw::c_int, + b1: *mut ::std::os::raw::c_int, + bn: *mut ::std::os::raw::c_int, + sigma: *mut f64, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + gersch: *mut f64, + z: *mut f64, + ztz: *mut f64, + mingma: *mut f64, + r: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + ); + pub fn dlarrb_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + sigma: *mut f64, + reltol: *mut f64, + w: *mut f64, + wgap: *mut f64, + werr: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarre_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tol: *mut f64, + nsplit: *mut ::std::os::raw::c_int, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + woff: *mut f64, + gersch: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrf_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + ld: *mut f64, + lld: *mut f64, + ifirst: *mut ::std::os::raw::c_int, + ilast: *mut ::std::os::raw::c_int, + w: *mut f64, + dplus: *mut f64, + lplus: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarrv_( + n: *mut ::std::os::raw::c_int, + d: *mut f64, + l: *mut f64, + isplit: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + iblock: *mut ::std::os::raw::c_int, + gersch: *mut f64, + tol: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlarz_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + incv: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dlarzb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn dlarzt_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dlasd0_( + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd1_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd2_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + alpha: *mut f64, + beta: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idx: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + coltyp: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd3_( + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut *mut ::std::os::raw::c_int, + d: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + u2: *mut f64, + ldu2: *mut ::std::os::raw::c_int, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + vt2: *mut f64, + ldvt2: *mut ::std::os::raw::c_int, + idxc: *mut ::std::os::raw::c_int, + ctot: *mut ::std::os::raw::c_int, + z: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd4_( + n: *mut ::std::os::raw::c_int, + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + sigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd5_( + i: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + delta: *mut f64, + rho: *mut f64, + dsigma: *mut f64, + work: *mut f64, + ); + pub fn dlasd6_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + vf: *mut f64, + vl: *mut f64, + alpha: *mut f64, + beta: *mut f64, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + poles: *mut f64, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + k: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd7_( + icompq: *mut ::std::os::raw::c_int, + nl: *mut ::std::os::raw::c_int, + nr: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + zw: *mut f64, + vf: *mut f64, + vfw: *mut f64, + vl: *mut f64, + vlw: *mut f64, + alpha: *mut f64, + beta: *mut f64, + dsigma: *mut f64, + idx: *mut ::std::os::raw::c_int, + idxp: *mut ::std::os::raw::c_int, + idxq: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + givnum: *mut f64, + ldgnum: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd8_( + icompq: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + lddifr: *mut ::std::os::raw::c_int, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasd9_( + icompq: *mut ::std::os::raw::c_int, + ldu: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + d: *mut f64, + z: *mut f64, + vf: *mut f64, + vl: *mut f64, + difl: *mut f64, + difr: *mut f64, + dsigma: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasda_( + icompq: *mut ::std::os::raw::c_int, + smlsiz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + sqre: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + u: *mut f64, + ldu: *mut *mut ::std::os::raw::c_int, + vt: *mut f64, + k: *mut ::std::os::raw::c_int, + difl: *mut f64, + difr: *mut f64, + z: *mut f64, + poles: *mut f64, + givptr: *mut ::std::os::raw::c_int, + givcol: *mut ::std::os::raw::c_int, + ldgcol: *mut ::std::os::raw::c_int, + perm: *mut ::std::os::raw::c_int, + givnum: *mut f64, + c: *mut f64, + s: *mut f64, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dlasdq_( + uplo: *const ::std::os::raw::c_char, + sqre: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut f64, + ldvt: *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dlasdt_( + n: *mut ::std::os::raw::c_int, + lvl: *mut ::std::os::raw::c_int, + nd: *mut ::std::os::raw::c_int, + inode: *mut ::std::os::raw::c_int, + ndiml: *mut ::std::os::raw::c_int, + ndimr: *mut ::std::os::raw::c_int, + msub: *mut ::std::os::raw::c_int, + ); + pub fn dlasq5_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + tau: *mut f64, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ieee: *mut ::std::os::raw::c_int, + ); + pub fn dlasq6_( + i0: *mut ::std::os::raw::c_int, + n0: *mut ::std::os::raw::c_int, + z: *mut f64, + pp: *mut ::std::os::raw::c_int, + dmin: *mut f64, + dmin1: *mut f64, + dmin2: *mut f64, + dn: *mut f64, + dnm1: *mut f64, + dnm2: *mut f64, + ); + pub fn dlatdf_( + ijob: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + rhs: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + ipiv: *mut ::std::os::raw::c_int, + jpiv: *mut ::std::os::raw::c_int, + ); + pub fn dlatrz_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + ); + pub fn dormr3_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dormrz_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + l: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dptts2_( + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + ); + pub fn dsbgvd_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsbgvx_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ka: *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + ab: *mut f64, + ldab: *mut ::std::os::raw::c_int, + bb: *mut f64, + ldbb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dspgvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dspgvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut f64, + bp: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dstegr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dstevr_( + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + isuppz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvd_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + w: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dsygvx_( + itype: *mut ::std::os::raw::c_int, + jobz: *const ::std::os::raw::c_char, + range: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + vu: *mut f64, + il: *mut ::std::os::raw::c_int, + iu: *mut ::std::os::raw::c_int, + abstol: *mut f64, + m: *mut ::std::os::raw::c_int, + w: *mut f64, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + ifail: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn dtgex2_( + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + j1: *mut ::std::os::raw::c_int, + n1: *mut ::std::os::raw::c_int, + n2: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgexc_( + wantq: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + ifst: *mut ::std::os::raw::c_int, + ilst: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsen_( + ijob: *mut ::std::os::raw::c_int, + wantq: *const ::std::os::raw::c_int, + wantz: *const ::std::os::raw::c_int, + select: *const ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + z: *mut f64, + ldz: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + pl: *mut f64, + pr: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + liwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dtgsna_( + job: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + vl: *mut f64, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *mut ::std::os::raw::c_int, + s: *mut f64, + dif: *mut f64, + mm: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dtgsy2_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + rdsum: *mut f64, + rdscal: *mut f64, + iwork: *mut ::std::os::raw::c_int, + pq: *mut *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtgsyl_( + trans: *const ::std::os::raw::c_char, + ijob: *mut ::std::os::raw::c_int, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + c: *mut f64, + ldc: *mut ::std::os::raw::c_int, + d: *mut f64, + ldd: *mut ::std::os::raw::c_int, + e: *mut f64, + lde: *mut ::std::os::raw::c_int, + f: *mut f64, + ldf: *mut ::std::os::raw::c_int, + scale: *mut f64, + dif: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn dtzrzf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn dpstrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + piv: *mut ::std::os::raw::c_int, + rank: *mut ::std::os::raw::c_int, + tol: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] + pub fn lsame_( + ca: *const ::std::os::raw::c_char, + cb: *const ::std::os::raw::c_char, + arg1: usize, + arg2: usize, + ) -> *mut ::std::os::raw::c_int; + pub fn zbdsqr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ncvt: *mut ::std::os::raw::c_int, + nru: *mut ::std::os::raw::c_int, + ncc: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + vt: *mut Rcomplex, + ldvt: *mut ::std::os::raw::c_int, + u: *mut Rcomplex, + ldu: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zdrot_( + n: *const ::std::os::raw::c_int, + cx: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + cy: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + c: *const f64, + s: *const f64, + ); + pub fn zgebak_( + job: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + m: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zgebal_( + job: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + scale: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgebd2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgebrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehd2_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgehrd_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelq2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgelqf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgeqrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrf2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] + pub fn zgetri_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zgetrs_( + trans: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetd2_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhseqr_( + job: *const ::std::os::raw::c_char, + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlabrd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + tauq: *mut Rcomplex, + taup: *mut Rcomplex, + x: *mut Rcomplex, + ldx: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); + pub fn zlacgv_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlacpy_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlahqr_( + wantt: *mut ::std::os::raw::c_int, + wantz: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + h: *mut Rcomplex, + ldh: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + iloz: *mut ::std::os::raw::c_int, + ihiz: *mut ::std::os::raw::c_int, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zlange_( + norm: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlanhe_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zlanhs_( + norm: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ) -> f64; + pub fn zlantp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + ap: *mut Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + arg3: usize, + ) -> f64; + pub fn zlaqp2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + work: *mut Rcomplex, + ); + pub fn zlaqps_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + offset: *mut ::std::os::raw::c_int, + nb: *mut *mut ::std::os::raw::c_int, + kb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + vn1: *mut f64, + vn2: *mut f64, + auxv: *mut Rcomplex, + f: *mut Rcomplex, + ldf: *mut ::std::os::raw::c_int, + ); + pub fn zlarf_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + incv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlarfb_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + ldwork: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zlarfg_( + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + ); + pub fn zlarft_( + direct: *const ::std::os::raw::c_char, + storev: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + ldv: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zlarfx_( + side: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + v: *mut Rcomplex, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + arg1: usize, + ); + pub fn zlascl_( + type_: *const ::std::os::raw::c_char, + kl: *mut ::std::os::raw::c_int, + ku: *mut ::std::os::raw::c_int, + cfrom: *mut f64, + cto: *mut f64, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlaset_( + uplo: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + alpha: *mut Rcomplex, + beta: *mut Rcomplex, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlasr_( + side: *const ::std::os::raw::c_char, + pivot: *const ::std::os::raw::c_char, + direct: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + c: *mut f64, + s: *mut f64, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlassq_( + n: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + incx: *mut ::std::os::raw::c_int, + scale: *mut f64, + sumsq: *mut f64, + ); + pub fn zlaswp_( + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + k1: *mut ::std::os::raw::c_int, + k2: *mut ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + incx: *mut ::std::os::raw::c_int, + ); + pub fn zlatrd_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + e: *mut f64, + tau: *mut Rcomplex, + w: *mut Rcomplex, + ldw: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zlatrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + normin: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + x: *mut Rcomplex, + scale: *mut f64, + cnorm: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + arg4: usize, + ); + pub fn zsteqr_( + compz: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + d: *mut f64, + e: *mut f64, + z: *mut Rcomplex, + ldz: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zpocon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zspcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsycon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] + pub fn zsymv_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + alpha: *const Rcomplex, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + x: *const Rcomplex, + incx: *const ::std::os::raw::c_int, + beta: *const Rcomplex, + y: *mut Rcomplex, + incy: *const ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zsytrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn ztpcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztptri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn ztptrs_( + uplo: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + ap: *const Rcomplex, + b: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrtri_( + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] + pub fn ztrcon_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + diag: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + rcond: *mut f64, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn ztrevc_( + side: *const ::std::os::raw::c_char, + howmny: *const ::std::os::raw::c_char, + select: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + vl: *mut Rcomplex, + ldvl: *mut ::std::os::raw::c_int, + vr: *mut Rcomplex, + ldvr: *mut ::std::os::raw::c_int, + mm: *mut ::std::os::raw::c_int, + m: *mut *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zung2l_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zung2r_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungbr_( + vect: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunghr_( + n: *mut ::std::os::raw::c_int, + ilo: *mut ::std::os::raw::c_int, + ihi: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungl2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zunglq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungql_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungqr_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungr2_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungrq_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + pub fn zungtr_( + uplo: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zunm2r_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmbr_( + vect: *const ::std::os::raw::c_char, + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zunml2_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zunmlq_( + side: *const ::std::os::raw::c_char, + trans: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + c: *mut Rcomplex, + ldc: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] + pub fn zgesdd_( + jobz: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + s: *mut f64, + u: *mut Rcomplex, + ldu: *const ::std::os::raw::c_int, + vt: *mut Rcomplex, + ldvt: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgelsd_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + b: *mut Rcomplex, + ldb: *mut ::std::os::raw::c_int, + s: *mut f64, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *mut ::std::os::raw::c_int, + rwork: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] + pub fn zlanhp_( + norm: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + work: *mut f64, + arg1: usize, + arg2: usize, + ) -> f64; + pub fn zhpcon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + AP: *mut Rcomplex, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhptrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + AP: *const Rcomplex, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhecon_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + anorm: *const f64, + rcond: *mut f64, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrf_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *mut ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetri_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + A: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zhetrs_( + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + nrhs: *const ::std::os::raw::c_int, + A: *const Rcomplex, + lda: *const ::std::os::raw::c_int, + ipiv: *const ::std::os::raw::c_int, + B: *mut Rcomplex, + ldb: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + ); + pub fn zgees_( + jobvs: *const ::std::os::raw::c_char, + sort: *const ::std::os::raw::c_char, + select: ::std::option::Option< + unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, + >, + n: *const ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *const ::std::os::raw::c_int, + sdim: *mut ::std::os::raw::c_int, + w: *mut Rcomplex, + vs: *mut Rcomplex, + ldvs: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + lwork: *const ::std::os::raw::c_int, + rwork: *mut f64, + bwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn zhpev_( + jobz: *const ::std::os::raw::c_char, + uplo: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + ap: *mut Rcomplex, + w: *mut f64, + z: *mut Rcomplex, + ldz: *const ::std::os::raw::c_int, + work: *mut Rcomplex, + rwork: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] + pub fn dgegv_( + jobvl: *const ::std::os::raw::c_char, + jobvr: *const ::std::os::raw::c_char, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *const f64, + vl: *mut f64, + ldvl: *const ::std::os::raw::c_int, + vr: *mut f64, + ldvr: *const ::std::os::raw::c_int, + work: *mut f64, + lwork: *const ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] + pub fn dgeqpf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] + pub fn dggsvd_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + p: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + l: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + b: *mut f64, + ldb: *const ::std::os::raw::c_int, + alpha: *const f64, + beta: *const f64, + u: *mut f64, + ldu: *const ::std::os::raw::c_int, + v: *mut f64, + ldv: *const ::std::os::raw::c_int, + q: *mut f64, + ldq: *const ::std::os::raw::c_int, + work: *mut f64, + iwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] + pub fn dtzrqf_( + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] + pub fn dlahrd_( + n: *const ::std::os::raw::c_int, + k: *const ::std::os::raw::c_int, + nb: *const ::std::os::raw::c_int, + a: *mut f64, + lda: *const ::std::os::raw::c_int, + tau: *mut f64, + t: *mut f64, + ldt: *const ::std::os::raw::c_int, + y: *mut f64, + ldy: *const ::std::os::raw::c_int, + ); + #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] + pub fn dlatzm_( + side: *const ::std::os::raw::c_char, + m: *const ::std::os::raw::c_int, + n: *const ::std::os::raw::c_int, + v: *const f64, + incv: *const ::std::os::raw::c_int, + tau: *const f64, + c1: *mut f64, + c2: *mut f64, + ldc: *const ::std::os::raw::c_int, + work: *mut f64, + arg1: usize, + ); + pub fn dgegs_( + jobvsl: *const ::std::os::raw::c_char, + jobvsr: *const ::std::os::raw::c_char, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + alphar: *mut f64, + alphai: *mut f64, + beta: *mut f64, + vsl: *mut f64, + ldvsl: *mut ::std::os::raw::c_int, + vsr: *mut f64, + ldvsr: *mut ::std::os::raw::c_int, + work: *mut f64, + lwork: *mut ::std::os::raw::c_int, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + ); + pub fn dgelsx_( + m: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + nrhs: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + jpvt: *mut ::std::os::raw::c_int, + rcond: *mut f64, + rank: *mut ::std::os::raw::c_int, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + ); + pub fn dggsvp_( + jobu: *const ::std::os::raw::c_char, + jobv: *const ::std::os::raw::c_char, + jobq: *const ::std::os::raw::c_char, + m: *mut ::std::os::raw::c_int, + p: *mut ::std::os::raw::c_int, + n: *mut ::std::os::raw::c_int, + a: *mut f64, + lda: *mut ::std::os::raw::c_int, + b: *mut f64, + ldb: *mut ::std::os::raw::c_int, + tola: *mut f64, + tolb: *mut f64, + k: *mut ::std::os::raw::c_int, + l: *mut *mut ::std::os::raw::c_int, + u: *mut f64, + ldu: *mut ::std::os::raw::c_int, + v: *mut f64, + ldv: *mut ::std::os::raw::c_int, + q: *mut f64, + ldq: *mut ::std::os::raw::c_int, + iwork: *mut ::std::os::raw::c_int, + tau: *mut f64, + work: *mut f64, + info: *mut ::std::os::raw::c_int, + arg1: usize, + arg2: usize, + arg3: usize, + ); + pub fn zlahrd_( + n: *mut ::std::os::raw::c_int, + k: *mut ::std::os::raw::c_int, + nb: *mut ::std::os::raw::c_int, + a: *mut Rcomplex, + lda: *mut ::std::os::raw::c_int, + tau: *mut Rcomplex, + t: *mut Rcomplex, + ldt: *mut ::std::os::raw::c_int, + y: *mut Rcomplex, + ldy: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Linpack-linux-aarch64-R4.2.rs b/bindings/bindings-Linpack-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..f2444a0b --- /dev/null +++ b/bindings/bindings-Linpack-linux-aarch64-R4.2.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-linux-x86_64-R4.2.rs b/bindings/bindings-Linpack-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..f2444a0b --- /dev/null +++ b/bindings/bindings-Linpack-linux-x86_64-R4.2.rs @@ -0,0 +1,330 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-aarch64-R4.2.rs b/bindings/bindings-Linpack-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..3cc48e57 --- /dev/null +++ b/bindings/bindings-Linpack-macos-aarch64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-macos-x86_64-R4.2.rs b/bindings/bindings-Linpack-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..3cc48e57 --- /dev/null +++ b/bindings/bindings-Linpack-macos-x86_64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.2.rs b/bindings/bindings-Linpack-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..15b21433 --- /dev/null +++ b/bindings/bindings-Linpack-windows-x86_64-R4.2.rs @@ -0,0 +1,332 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.3.rs b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs index c5f74e39..b7b35556 100644 --- a/bindings/bindings-Linpack-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Linpack-windows-x86_64-R4.3.rs @@ -1,332 +1,332 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs index 33cacf16..34658fa4 100644 --- a/bindings/bindings-Linpack-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Linpack-windows-x86_64-R4.4.rs @@ -1,332 +1,332 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs index 68f5604f..8caa3ee0 100644 --- a/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Linpack-windows-x86_64-R4.5-devel.rs @@ -1,332 +1,332 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "Double Precision LINPACK"] + pub fn dpbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dpoco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpodi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dpofa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dposl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); + pub fn dqrdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dqrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dsvdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut ::std::os::raw::c_int, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + arg13: *mut ::std::os::raw::c_int, + ); + pub fn dtrco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dtrsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + ); + #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] + pub fn dchdc_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dchdd_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + arg12: *mut ::std::os::raw::c_int, + ); + pub fn dchex_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut ::std::os::raw::c_int, + ); + pub fn dchud_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut f64, + arg9: *mut f64, + arg10: *mut f64, + arg11: *mut f64, + ); + pub fn dgbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut f64, + ); + pub fn dgbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + ); + pub fn dgbfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgbsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dgeco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dgedi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dgefa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dgesl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dgtsl_( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut f64, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + ); + pub fn dpbco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dpbdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dppco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dppdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut f64, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dppfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + ); + pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); + pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); + pub fn dsico_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut f64, + ); + pub fn dsidi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut f64, + arg8: *mut ::std::os::raw::c_int, + ); + pub fn dsifa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + ); + pub fn dsisl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut f64, + ); + pub fn dspco_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut f64, + ); + pub fn dspdi_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut f64, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn dspfa_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn dspsl_( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut f64, + ); +} diff --git a/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs b/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b83a030e --- /dev/null +++ b/bindings/bindings-MathThreads-linux-aarch64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs b/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b83a030e --- /dev/null +++ b/bindings/bindings-MathThreads-linux-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs b/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..a62726e4 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-aarch64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs b/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..a62726e4 --- /dev/null +++ b/bindings/bindings-MathThreads-macos-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..154a3ee2 --- /dev/null +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.2.rs @@ -0,0 +1,12 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs index ce5d8315..9ca40f03 100644 --- a/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.3.rs @@ -1,12 +1,12 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs index 69c2fae1..55a196ba 100644 --- a/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs @@ -1,12 +1,12 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs index c0b78feb..509068f5 100644 --- a/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-MathThreads-windows-x86_64-R4.5-devel.rs @@ -1,12 +1,12 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut R_num_math_threads: ::std::os::raw::c_int; + pub static mut R_max_num_math_threads: ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Memory-linux-aarch64-R4.2.rs b/bindings/bindings-Memory-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..d579042c --- /dev/null +++ b/bindings/bindings-Memory-linux-aarch64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-linux-x86_64-R4.2.rs b/bindings/bindings-Memory-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..d579042c --- /dev/null +++ b/bindings/bindings-Memory-linux-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-aarch64-R4.2.rs b/bindings/bindings-Memory-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..618a3fef --- /dev/null +++ b/bindings/bindings-Memory-macos-aarch64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut f64; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-macos-x86_64-R4.2.rs b/bindings/bindings-Memory-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..467ad6d2 --- /dev/null +++ b/bindings/bindings-Memory-macos-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.2.rs b/bindings/bindings-Memory-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..11d80e29 --- /dev/null +++ b/bindings/bindings-Memory-windows-x86_64-R4.2.rs @@ -0,0 +1,32 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.3.rs b/bindings/bindings-Memory-windows-x86_64-R4.3.rs index 9c09a31e..ce5febfe 100644 --- a/bindings/bindings-Memory-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Memory-windows-x86_64-R4.3.rs @@ -1,32 +1,32 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/bindings/bindings-Memory-windows-x86_64-R4.4.rs index 4ea6dde0..a577edd2 100644 --- a/bindings/bindings-Memory-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Memory-windows-x86_64-R4.4.rs @@ -1,32 +1,32 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs index 0af0b3f6..cecf3a5a 100644 --- a/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Memory-windows-x86_64-R4.5-devel.rs @@ -1,32 +1,32 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn vmaxget() -> *mut ::std::os::raw::c_void; + pub fn vmaxset(arg1: *const ::std::os::raw::c_void); + pub fn R_gc(); + pub fn R_gc_running() -> ::std::os::raw::c_int; + pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; + pub fn R_allocLD(nelem: usize) -> *mut u128; + pub fn S_alloc( + arg1: ::std::os::raw::c_long, + arg2: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn S_realloc( + arg1: *mut ::std::os::raw::c_char, + arg2: ::std::os::raw::c_long, + arg3: ::std::os::raw::c_long, + arg4: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; + pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_realloc_gc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; +} diff --git a/bindings/bindings-Parse-linux-aarch64-R4.2.rs b/bindings/bindings-Parse-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..3428d5c8 --- /dev/null +++ b/bindings/bindings-Parse-linux-aarch64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-linux-x86_64-R4.2.rs b/bindings/bindings-Parse-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..3428d5c8 --- /dev/null +++ b/bindings/bindings-Parse-linux-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-aarch64-R4.2.rs b/bindings/bindings-Parse-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..2836b927 --- /dev/null +++ b/bindings/bindings-Parse-macos-aarch64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-macos-x86_64-R4.2.rs b/bindings/bindings-Parse-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..2836b927 --- /dev/null +++ b/bindings/bindings-Parse-macos-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.2.rs b/bindings/bindings-Parse-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..ccc26f97 --- /dev/null +++ b/bindings/bindings-Parse-windows-x86_64-R4.2.rs @@ -0,0 +1,26 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.3.rs b/bindings/bindings-Parse-windows-x86_64-R4.3.rs index e7979fa0..74dc2957 100644 --- a/bindings/bindings-Parse-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Parse-windows-x86_64-R4.3.rs @@ -1,26 +1,26 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/bindings/bindings-Parse-windows-x86_64-R4.4.rs index 8e7de456..6f12f189 100644 --- a/bindings/bindings-Parse-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Parse-windows-x86_64-R4.4.rs @@ -1,26 +1,26 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs index b1f03906..f7772bf1 100644 --- a/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Parse-windows-x86_64-R4.5-devel.rs @@ -1,26 +1,26 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "PARSE_NULL will not be returned by R_ParseVector"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum ParseStatus { + PARSE_NULL = 0, + PARSE_OK = 1, + PARSE_INCOMPLETE = 2, + PARSE_ERROR = 3, + PARSE_EOF = 4, +} +extern "C" { + pub fn R_ParseVector( + arg1: SEXP, + arg2: ::std::os::raw::c_int, + arg3: *mut ParseStatus, + arg4: SEXP, + ) -> SEXP; +} diff --git a/bindings/bindings-Print-linux-aarch64-R4.2.rs b/bindings/bindings-Print-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..9e3265ef --- /dev/null +++ b/bindings/bindings-Print-linux-aarch64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = [u64; 4usize]; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-linux-x86_64-R4.2.rs b/bindings/bindings-Print-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..ed3c0cf2 --- /dev/null +++ b/bindings/bindings-Print-linux-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-macos-aarch64-R4.2.rs b/bindings/bindings-Print-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..30baa5b1 --- /dev/null +++ b/bindings/bindings-Print-macos-aarch64-R4.2.rs @@ -0,0 +1,16 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-macos-x86_64-R4.2.rs b/bindings/bindings-Print-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f5d6593c --- /dev/null +++ b/bindings/bindings-Print-macos-x86_64-R4.2.rs @@ -0,0 +1,24 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type va_list = __builtin_va_list; +pub type __builtin_va_list = [__va_list_tag; 1usize]; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, +} +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.2.rs b/bindings/bindings-Print-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2a7fe51b --- /dev/null +++ b/bindings/bindings-Print-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.3.rs b/bindings/bindings-Print-windows-x86_64-R4.3.rs index fb7947c0..220cd935 100644 --- a/bindings/bindings-Print-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Print-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.4.rs b/bindings/bindings-Print-windows-x86_64-R4.4.rs index 0b732c53..258f61d9 100644 --- a/bindings/bindings-Print-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Print-windows-x86_64-R4.4.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs index 2f5a5046..c822e2a2 100644 --- a/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Print-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub type __gnuc_va_list = __builtin_va_list; +pub type va_list = __gnuc_va_list; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __builtin_va_list = *mut ::std::os::raw::c_char; +extern "C" { + pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); + pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); + pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); +} diff --git a/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs b/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..2faf1b70 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-aarch64-R4.2.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..2faf1b70 --- /dev/null +++ b/bindings/bindings-PrtUtil-linux-x86_64-R4.2.rs @@ -0,0 +1,53 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs b/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..f43f0b2c --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-aarch64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f43f0b2c --- /dev/null +++ b/bindings/bindings-PrtUtil-macos-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..dff0f752 --- /dev/null +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs @@ -0,0 +1,62 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs index d92858e8..0894ff33 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -1,111 +1,111 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs index 2fa7f234..4c45cede 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -1,111 +1,111 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs index bd488adf..37d4e9c0 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -1,111 +1,111 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +pub type SEXP = *mut SEXPREC; +extern "C" { + pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); + pub fn formatRealS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ); + pub fn formatComplexS( + arg1: SEXP, + arg2: R_xlen_t, + arg3: *mut ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + arg5: *mut ::std::os::raw::c_int, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + arg8: *mut ::std::os::raw::c_int, + arg9: ::std::os::raw::c_int, + ); + pub fn Rf_EncodeReal0( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Printing"] + pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; + pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); + #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] + pub fn Rf_printIntegerVector( + arg1: *const ::std::os::raw::c_int, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_printComplexVector( + arg1: *const Rcomplex, + arg2: R_xlen_t, + arg3: ::std::os::raw::c_int, + ); + pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); + pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); +} diff --git a/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs b/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b4303013 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-aarch64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs b/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b4303013 --- /dev/null +++ b/bindings/bindings-QuartzDevice-linux-x86_64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs b/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5e8dd733 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-aarch64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs b/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5e8dd733 --- /dev/null +++ b/bindings/bindings-QuartzDevice-macos-x86_64-R4.2.rs @@ -0,0 +1,239 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const QNPF_REDRAW: u32 = 1; +pub const QDFLAG_DISPLAY_LIST: u32 = 1; +pub const QDFLAG_INTERACTIVE: u32 = 2; +pub const QDFLAG_RASTERIZED: u32 = 4; +pub const QPFLAG_ANTIALIAS: u32 = 256; +pub const QuartzParam_EmbeddingFlags: &[u8; 18] = b"embeddeding flags\0"; +pub const QP_Flags_CFLoop: u32 = 1; +pub const QP_Flags_Cocoa: u32 = 2; +pub const QP_Flags_Front: u32 = 4; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type CGContextRef = *mut ::std::os::raw::c_void; +pub type QuartzDesc_t = *mut ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzBackend_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub width: f64, + pub height: f64, + pub scalex: f64, + pub scaley: f64, + pub pointsize: f64, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub flags: ::std::os::raw::c_int, + pub userInfo: *mut ::std::os::raw::c_void, + #[doc = "Get the context for this device"] + pub getCGContext: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> CGContextRef, + >, + pub locatePoint: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + x: *mut f64, + y: *mut f64, + ) -> ::std::os::raw::c_int, + >, + pub close: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub newPage: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + flags: ::std::os::raw::c_int, + ), + >, + pub state: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + state: ::std::os::raw::c_int, + ), + >, + pub par: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + set: ::std::os::raw::c_int, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub sync: ::std::option::Option< + unsafe extern "C" fn(dev: QuartzDesc_t, userInfo: *mut ::std::os::raw::c_void), + >, + pub cap: ::std::option::Option< + unsafe extern "C" fn( + dev: QuartzDesc_t, + userInfo: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzBackend_t = QuartzBackend_s; +#[doc = "parameters that are passed to functions that create backends"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzParameters_s { + #[doc = "structure size"] + pub size: ::std::os::raw::c_int, + pub type_: *const ::std::os::raw::c_char, + pub file: *const ::std::os::raw::c_char, + pub title: *const ::std::os::raw::c_char, + pub x: f64, + pub y: f64, + pub width: f64, + pub height: f64, + pub pointsize: f64, + pub family: *const ::std::os::raw::c_char, + pub flags: ::std::os::raw::c_int, + pub connection: ::std::os::raw::c_int, + pub bg: ::std::os::raw::c_int, + pub canvas: ::std::os::raw::c_int, + pub dpi: *mut f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard1: f64, + #[doc = "the following parameters can be used to pass custom parameters when desired"] + pub pard2: f64, + pub pari1: ::std::os::raw::c_int, + pub pari2: ::std::os::raw::c_int, + pub pars1: *const ::std::os::raw::c_char, + pub pars2: *const ::std::os::raw::c_char, + pub parv: *mut ::std::os::raw::c_void, +} +#[doc = "parameters that are passed to functions that create backends"] +pub type QuartzParameters_t = QuartzParameters_s; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct QuartzFunctons_s { + #[doc = "create a new device"] + pub Create: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut QuartzBackend_t, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "returns device number"] + pub DevNumber: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "call to close the device"] + pub Kill: ::std::option::Option, + #[doc = "notifies Q back-end that the implementation has created a new context"] + pub ResetContext: ::std::option::Option, + #[doc = "get device width (in inches)"] + pub GetWidth: ::std::option::Option f64>, + #[doc = "get device height (in inches)"] + pub GetHeight: ::std::option::Option f64>, + #[doc = "set device size (in inches)"] + pub SetSize: + ::std::option::Option, + #[doc = "get device width (in pixels)"] + pub GetScaledWidth: ::std::option::Option f64>, + #[doc = "get device height (in pixels)"] + pub GetScaledHeight: ::std::option::Option f64>, + #[doc = "set device size (in pixels)"] + pub SetScaledSize: + ::std::option::Option, + #[doc = "get x scale factor (px/pt ratio)"] + pub GetXScale: ::std::option::Option f64>, + #[doc = "get y scale factor (px/pt ratio)"] + pub GetYScale: ::std::option::Option f64>, + #[doc = "sets both scale factors (px/pt ratio)"] + pub SetScale: + ::std::option::Option, + #[doc = "sets text scale factor"] + pub SetTextScale: ::std::option::Option, + #[doc = "sets text scale factor"] + pub GetTextScale: ::std::option::Option f64>, + #[doc = "sets point size"] + pub SetPointSize: ::std::option::Option, + #[doc = "gets point size"] + pub GetPointSize: ::std::option::Option f64>, + #[doc = "sets dirty flag"] + pub GetDirty: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "gets dirty flag"] + pub SetDirty: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, dirty: ::std::os::raw::c_int), + >, + #[doc = "replay display list\nNote: it inhibits sync calls during repaint,\nthe caller is responsible for calling sync if needed.\nDirty flag is kept unmodified"] + pub ReplayDisplayList: ::std::option::Option, + pub GetSnapshot: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + last: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_void, + >, + #[doc = "create a (replayable) snapshot of the device contents.\nwhen 'last' is set then the last stored display list is used,\notherwise a new snapshot is created"] + pub RestoreSnapshot: ::std::option::Option< + unsafe extern "C" fn(desc: QuartzDesc_t, snapshot: *mut ::std::os::raw::c_void), + >, + #[doc = "get anti-alias flag"] + pub GetAntialias: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "set anti-alias flag"] + pub SetAntialias: + ::std::option::Option, + #[doc = "get background color"] + pub GetBackground: + ::std::option::Option ::std::os::raw::c_int>, + #[doc = "activate/select the device"] + pub Activate: ::std::option::Option, + #[doc = "get/set Quartz-specific parameters. desc can be NULL for global parameters"] + pub SetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + value: *mut ::std::os::raw::c_void, + ) -> *mut ::std::os::raw::c_void, + >, + pub GetParameter: ::std::option::Option< + unsafe extern "C" fn( + desc: QuartzDesc_t, + key: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void, + >, +} +pub type QuartzFunctions_t = QuartzFunctons_s; +#[doc = "type of a Quartz contructor"] +pub type quartz_create_fn_t = ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, +>; +extern "C" { + #[doc = "all device implementations have to call this general Quartz device constructor at some point"] + pub fn QuartzDevice_Create( + dd: *mut ::std::os::raw::c_void, + def: *mut QuartzBackend_t, + ) -> QuartzDesc_t; + #[doc = "FIXME: no longer used, remove in due course */\n/* from unix/aqua.c - loads grDevices if necessary and returns NULL on failure"] + pub fn getQuartzFunctions() -> *mut QuartzFunctions_t; + pub static mut ptr_QuartzBackend: ::std::option::Option< + unsafe extern "C" fn( + dd: *mut ::std::os::raw::c_void, + fn_: *mut QuartzFunctions_t, + par: *mut QuartzParameters_t, + ) -> QuartzDesc_t, + >; + #[doc = "C version of the Quartz call (experimental)\nreturns 0 on success, error code on failure"] + pub fn Quartz_C( + par: *mut QuartzParameters_t, + q_create: quartz_create_fn_t, + errorCode: *mut ::std::os::raw::c_int, + ) -> QuartzDesc_t; +} diff --git a/bindings/bindings-R-linux-aarch64-R4.2.rs b/bindings/bindings-R-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..47e51d6e --- /dev/null +++ b/bindings/bindings-R-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-linux-x86_64-R4.2.rs b/bindings/bindings-R-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..47e51d6e --- /dev/null +++ b/bindings/bindings-R-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-aarch64-R4.2.rs b/bindings/bindings-R-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b18d5c0f --- /dev/null +++ b/bindings/bindings-R-macos-aarch64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-macos-x86_64-R4.2.rs b/bindings/bindings-R-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b18d5c0f --- /dev/null +++ b/bindings/bindings-R-macos-x86_64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.2.rs b/bindings/bindings-R-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..05b68056 --- /dev/null +++ b/bindings/bindings-R-windows-x86_64-R4.2.rs @@ -0,0 +1,20 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const SINT_MAX: u32 = 2147483647; +pub const SINT_MIN: i32 = -2147483648; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "for PROBLEM ... R_Calloc, R_Realloc, R_Free, Memcpy, F77_xxxx"] +pub type Sfloat = f64; +pub type Sint = ::std::os::raw::c_int; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.3.rs b/bindings/bindings-R-windows-x86_64-R4.3.rs index e9b0fa5b..2f552e51 100644 --- a/bindings/bindings-R-windows-x86_64-R4.3.rs +++ b/bindings/bindings-R-windows-x86_64-R4.3.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.4.rs b/bindings/bindings-R-windows-x86_64-R4.4.rs index 0a494ee4..2fb3b785 100644 --- a/bindings/bindings-R-windows-x86_64-R4.4.rs +++ b/bindings/bindings-R-windows-x86_64-R4.4.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-R-windows-x86_64-R4.5-devel.rs b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs index 1de95977..9ad28830 100644 --- a/bindings/bindings-R-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-R-windows-x86_64-R4.5-devel.rs @@ -1,15 +1,15 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn R_FlushConsole(); - #[doc = "always declared, but only usable under Win32 and Aqua"] - pub fn R_ProcessEvents(); - pub fn R_WaitEvent(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn R_FlushConsole(); + #[doc = "always declared, but only usable under Win32 and Aqua"] + pub fn R_ProcessEvents(); + pub fn R_WaitEvent(); +} diff --git a/bindings/bindings-RS-linux-aarch64-R4.2.rs b/bindings/bindings-RS-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e2a225ab --- /dev/null +++ b/bindings/bindings-RS-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-linux-x86_64-R4.2.rs b/bindings/bindings-RS-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e2a225ab --- /dev/null +++ b/bindings/bindings-RS-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-aarch64-R4.2.rs b/bindings/bindings-RS-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5d123648 --- /dev/null +++ b/bindings/bindings-RS-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-macos-x86_64-R4.2.rs b/bindings/bindings-RS-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5d123648 --- /dev/null +++ b/bindings/bindings-RS-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.2.rs b/bindings/bindings-RS-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..8f4b41eb --- /dev/null +++ b/bindings/bindings-RS-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.3.rs b/bindings/bindings-RS-windows-x86_64-R4.3.rs index 51675546..611f96e8 100644 --- a/bindings/bindings-RS-windows-x86_64-R4.3.rs +++ b/bindings/bindings-RS-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.4.rs b/bindings/bindings-RS-windows-x86_64-R4.4.rs index deeb6bf5..5b7711dd 100644 --- a/bindings/bindings-RS-windows-x86_64-R4.4.rs +++ b/bindings/bindings-RS-windows-x86_64-R4.4.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "S Like Memory Management"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs index 29a487a0..28977669 100644 --- a/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RS-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "not of themselves API"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "not of themselves API"] + pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; + pub fn R_chk_realloc( + arg1: *mut ::std::os::raw::c_void, + arg2: usize, + ) -> *mut ::std::os::raw::c_void; + pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); +} diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.2.rs b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..4ebf92d1 --- /dev/null +++ b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.2.rs b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..4ebf92d1 --- /dev/null +++ b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.2.rs b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..d7ae05ff --- /dev/null +++ b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-macos-x86_64-R4.2.rs b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..d7ae05ff --- /dev/null +++ b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs @@ -0,0 +1,172 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub __bindgen_padding_0: u32, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.2.rs b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2c8135e9 --- /dev/null +++ b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs @@ -0,0 +1,234 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs index 6687a650..13b73990 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.3.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -1,234 +1,234 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs index 26bed9cb..bd11e0c5 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -1,235 +1,235 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs index 1493fe07..df3b0b09 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -1,235 +1,235 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[repr(C)] +#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] +pub struct __BindgenBitfieldUnit { + storage: Storage, +} +impl __BindgenBitfieldUnit { + #[inline] + pub const fn new(storage: Storage) -> Self { + Self { storage } + } +} +impl __BindgenBitfieldUnit +where + Storage: AsRef<[u8]> + AsMut<[u8]>, +{ + #[inline] + pub fn get_bit(&self, index: usize) -> bool { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = self.storage.as_ref()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + byte & mask == mask + } + #[inline] + pub fn set_bit(&mut self, index: usize, val: bool) { + debug_assert!(index / 8 < self.storage.as_ref().len()); + let byte_index = index / 8; + let byte = &mut self.storage.as_mut()[byte_index]; + let bit_index = if cfg!(target_endian = "big") { + 7 - (index % 8) + } else { + index % 8 + }; + let mask = 1 << bit_index; + if val { + *byte |= mask; + } else { + *byte &= !mask; + } + } + #[inline] + pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + let mut val = 0; + for i in 0..(bit_width as usize) { + if self.get_bit(i + bit_offset) { + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + val |= 1 << index; + } + } + val + } + #[inline] + pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { + debug_assert!(bit_width <= 64); + debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); + debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); + for i in 0..(bit_width as usize) { + let mask = 1 << i; + let val_bit_is_set = val & mask == mask; + let index = if cfg!(target_endian = "big") { + bit_width as usize - 1 - i + } else { + i + }; + self.set_bit(index + bit_offset, val_bit_is_set); + } + } +} +pub const RSTART_VERSION: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum UImode { + RGui = 0, + RTerm = 1, + LinkDLL = 2, +} +#[repr(u32)] +#[doc = "Startup Actions"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SA_TYPE { + #[doc = "= 0"] + SA_NORESTORE = 0, + SA_RESTORE = 1, + #[doc = "was === SA_RESTORE"] + SA_DEFAULT = 2, + SA_NOSAVE = 3, + SA_SAVE = 4, + SA_SAVEASK = 5, + SA_SUICIDE = 6, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct structRstart { + pub R_Quiet: Rboolean, + pub R_NoEcho: Rboolean, + pub R_Interactive: Rboolean, + pub R_Verbose: Rboolean, + pub LoadSiteFile: Rboolean, + pub LoadInitFile: Rboolean, + pub DebugInitFile: Rboolean, + pub RestoreAction: SA_TYPE, + pub SaveAction: SA_TYPE, + pub vsize: usize, + pub nsize: usize, + pub max_vsize: usize, + pub max_nsize: usize, + pub ppsize: usize, + pub _bitfield_align_1: [u16; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, + pub nconnections: ::std::os::raw::c_int, + #[doc = "R_HOME"] + pub rhome: *mut ::std::os::raw::c_char, + #[doc = "HOME"] + pub home: *mut ::std::os::raw::c_char, + pub ReadConsole: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: *mut ::std::os::raw::c_uchar, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub WriteConsole: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), + >, + #[doc = "ProcessEvents under Unix"] + pub CallBack: ::std::option::Option, + pub ShowMessage: + ::std::option::Option, + pub YesNoCancel: ::std::option::Option< + unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, + >, + #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] + pub Busy: ::std::option::Option, + pub CharacterMode: UImode, + #[doc = "The following field has been added in R 2.5.0"] + pub WriteConsoleEx: ::std::option::Option< + unsafe extern "C" fn( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + #[doc = "The following field has been added in R 4.0.0."] + pub EmitEmbeddedUTF8: Rboolean, + #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] + pub CleanUp: ::std::option::Option< + unsafe extern "C" fn( + arg1: SA_TYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ), + >, + pub ClearerrConsole: ::std::option::Option, + pub FlushConsole: ::std::option::Option, + pub ResetConsole: ::std::option::Option, + pub Suicide: ::std::option::Option, +} +impl structRstart { + #[inline] + pub fn NoRenviron(&self) -> Rboolean { + unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } + } + #[inline] + pub fn set_NoRenviron(&mut self, val: Rboolean) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(0usize, 16u8, val as u64) + } + } + #[inline] + pub fn RstartVersion(&self) -> ::std::os::raw::c_int { + unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } + } + #[inline] + pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { + unsafe { + let val: u32 = ::std::mem::transmute(val); + self._bitfield_1.set(16usize, 16u8, val as u64) + } + } + #[inline] + pub fn new_bitfield_1( + NoRenviron: Rboolean, + RstartVersion: ::std::os::raw::c_int, + ) -> __BindgenBitfieldUnit<[u8; 4usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); + __bindgen_bitfield_unit.set(0usize, 16u8, { + let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; + NoRenviron as u64 + }); + __bindgen_bitfield_unit.set(16usize, 16u8, { + let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; + RstartVersion as u64 + }); + __bindgen_bitfield_unit + } +} +pub type Rstart = *mut structRstart; +extern "C" { + pub fn R_common_command_line( + arg1: *mut ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + arg3: Rstart, + ); + pub fn setup_Rmainloop(); +} diff --git a/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs b/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..4794d45e --- /dev/null +++ b/bindings/bindings-Rallocators-linux-aarch64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs b/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..4794d45e --- /dev/null +++ b/bindings/bindings-Rallocators-linux-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs b/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..b9d4dd55 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-aarch64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs b/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..b9d4dd55 --- /dev/null +++ b/bindings/bindings-Rallocators-macos-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..6b4d221a --- /dev/null +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.2.rs @@ -0,0 +1,27 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs index 7c877ff9..d57b4bee 100644 --- a/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.3.rs @@ -1,27 +1,27 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs index e630ca92..cf3f2697 100644 --- a/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs @@ -1,27 +1,27 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs index e492df72..5f4b7ae2 100644 --- a/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rallocators-windows-x86_64-R4.5-devel.rs @@ -1,27 +1,27 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type R_allocator_t = R_allocator; +pub type custom_alloc_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, +>; +pub type custom_free_t = ::std::option::Option< + unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), +>; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + #[doc = "malloc equivalent"] + pub mem_alloc: custom_alloc_t, + #[doc = "free equivalent"] + pub mem_free: custom_free_t, + #[doc = "reserved (maybe for copy) - must be NULL"] + pub res: *mut ::std::os::raw::c_void, + #[doc = "custom data for the allocator implementation"] + pub data: *mut ::std::os::raw::c_void, +} diff --git a/bindings/bindings-Random-linux-aarch64-R4.2.rs b/bindings/bindings-Random-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..aad46fb4 --- /dev/null +++ b/bindings/bindings-Random-linux-aarch64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-linux-x86_64-R4.2.rs b/bindings/bindings-Random-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..aad46fb4 --- /dev/null +++ b/bindings/bindings-Random-linux-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-aarch64-R4.2.rs b/bindings/bindings-Random-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..6ebf2244 --- /dev/null +++ b/bindings/bindings-Random-macos-aarch64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-macos-x86_64-R4.2.rs b/bindings/bindings-Random-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..6ebf2244 --- /dev/null +++ b/bindings/bindings-Random-macos-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.2.rs b/bindings/bindings-Random-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..9c48cbca --- /dev/null +++ b/bindings/bindings-Random-windows-x86_64-R4.2.rs @@ -0,0 +1,54 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.3.rs b/bindings/bindings-Random-windows-x86_64-R4.3.rs index 6563a435..acbcef3c 100644 --- a/bindings/bindings-Random-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Random-windows-x86_64-R4.3.rs @@ -1,54 +1,54 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.4.rs b/bindings/bindings-Random-windows-x86_64-R4.4.rs index cc7ac92c..4f59dcf9 100644 --- a/bindings/bindings-Random-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Random-windows-x86_64-R4.4.rs @@ -1,54 +1,54 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs index 5ef61af3..63b30a92 100644 --- a/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Random-windows-x86_64-R4.5-devel.rs @@ -1,54 +1,54 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum RNGtype { + WICHMANN_HILL = 0, + MARSAGLIA_MULTICARRY = 1, + SUPER_DUPER = 2, + MERSENNE_TWISTER = 3, + KNUTH_TAOCP = 4, + USER_UNIF = 5, + KNUTH_TAOCP2 = 6, + LECUYER_CMRG = 7, +} +#[repr(u32)] +#[doc = "Different kinds of \"N(0,1)\" generators :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum N01type { + BUGGY_KINDERMAN_RAMAGE = 0, + AHRENS_DIETER = 1, + BOX_MULLER = 2, + USER_NORM = 3, + INVERSION = 4, + KINDERMAN_RAMAGE = 5, +} +#[repr(u32)] +#[doc = "Different ways to generate discrete uniform samples"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Sampletype { + ROUNDING = 0, + REJECTION = 1, +} +pub type Int32 = ::std::os::raw::c_uint; +extern "C" { + pub fn R_sample_kind() -> Sampletype; + pub fn GetRNGstate(); + pub fn PutRNGstate(); + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + #[doc = "These are also defined in Rmath.h"] + pub fn norm_rand() -> f64; + pub fn exp_rand() -> f64; + pub fn user_unif_rand() -> *mut f64; + pub fn user_unif_init(arg1: Int32); + pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; + pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; + pub fn user_norm_rand() -> *mut f64; +} diff --git a/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs b/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..17ea9cbd --- /dev/null +++ b/bindings/bindings-Rconfig-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs b/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..17ea9cbd --- /dev/null +++ b/bindings/bindings-Rconfig-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const HAVE_VISIBILITY_ATTRIBUTE: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs b/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..efcc885f --- /dev/null +++ b/bindings/bindings-Rconfig-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs b/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..efcc885f --- /dev/null +++ b/bindings/bindings-Rconfig-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const HAVE_AQUA: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_ALLOCA_H: u32 = 1; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..3e30b58e --- /dev/null +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.2.rs @@ -0,0 +1,15 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs index 6cee0a76..c8a2b4c7 100644 --- a/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.3.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs index e67b2257..0b870b1d 100644 --- a/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.4.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs index 7c0a895c..8331e50c 100644 --- a/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rconfig-windows-x86_64-R4.5-devel.rs @@ -1,16 +1,16 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const HAVE_F77_UNDERSCORE: u32 = 1; -pub const IEEE_754: u32 = 1; -pub const SUPPORT_UTF8: u32 = 1; -pub const SUPPORT_MBCS: u32 = 1; -pub const ENABLE_NLS: u32 = 1; -pub const PR18534fixed: u32 = 1; -pub const SIZEOF_SIZE_T: u32 = 8; -pub const HAVE_UINTPTR_T: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const HAVE_F77_UNDERSCORE: u32 = 1; +pub const IEEE_754: u32 = 1; +pub const SUPPORT_UTF8: u32 = 1; +pub const SUPPORT_MBCS: u32 = 1; +pub const ENABLE_NLS: u32 = 1; +pub const PR18534fixed: u32 = 1; +pub const SIZEOF_SIZE_T: u32 = 8; +pub const HAVE_UINTPTR_T: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs b/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..b4166ca2 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs b/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..b4166ca2 --- /dev/null +++ b/bindings/bindings-Rdefines-linux-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs b/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..f2989c3f --- /dev/null +++ b/bindings/bindings-Rdefines-macos-aarch64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs b/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..f2989c3f --- /dev/null +++ b/bindings/bindings-Rdefines-macos-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..d905ace0 --- /dev/null +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.2.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs index 7a86d989..7e5b97a6 100644 --- a/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.3.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs index 2909f8af..3451dced 100644 --- a/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.4.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs index 55d2642c..93077194 100644 --- a/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rdefines-windows-x86_64-R4.5-devel.rs @@ -1,11 +1,11 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const TRUE: u32 = 1; -pub const FALSE: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type s_object = SEXPREC; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const TRUE: u32 = 1; +pub const FALSE: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type s_object = SEXPREC; diff --git a/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs b/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a808b986 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-aarch64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs b/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a808b986 --- /dev/null +++ b/bindings/bindings-Rdynload-linux-x86_64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs b/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..4f0f32a9 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-aarch64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs b/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..4f0f32a9 --- /dev/null +++ b/bindings/bindings-Rdynload-macos-x86_64-R4.2.rs @@ -0,0 +1,81 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..9ad70373 --- /dev/null +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs @@ -0,0 +1,89 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs index 397631f3..63c75a4f 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -1,89 +1,89 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs index 989bacba..c4bd74b1 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -1,89 +1,89 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs index 0507aa7a..cae7027d 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -1,91 +1,91 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - #[doc = "Not API"] - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - #[doc = "Not API"] - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const SINGLESXP: u32 = 302; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, + pub types: *mut R_NativePrimitiveArgType, +} +#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] +pub type R_FortranMethodDef = R_CMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_CallMethodDef { + pub name: *const ::std::os::raw::c_char, + pub fun: DL_FUNC, + pub numArgs: ::std::os::raw::c_int, +} +pub type R_ExternalMethodDef = R_CallMethodDef; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _DllInfo { + _unused: [u8; 0], +} +pub type DllInfo = _DllInfo; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rf_RegisteredNativeSymbol { + _unused: [u8; 0], +} +pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum NativeSymbolType { + R_ANY_SYM = 0, + R_C_SYM = 1, + R_CALL_SYM = 2, + R_FORTRAN_SYM = 3, + R_EXTERNAL_SYM = 4, +} +extern "C" { + pub fn R_registerRoutines( + info: *mut DllInfo, + croutines: *const R_CMethodDef, + callRoutines: *const R_CallMethodDef, + fortranRoutines: *const R_FortranMethodDef, + externalRoutines: *const R_ExternalMethodDef, + ) -> ::std::os::raw::c_int; + pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; + #[doc = "Not API"] + pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; + #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module/\n\nNot API"] + pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; + #[doc = "Not API"] + pub fn R_FindSymbol( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + symbol: *mut R_RegisteredNativeSymbol, + ) -> DL_FUNC; + #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal.\n\nDeclarations in the manual, so API"] + pub fn R_RegisterCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + fptr: DL_FUNC, + ); + pub fn R_GetCCallable( + package: *const ::std::os::raw::c_char, + name: *const ::std::os::raw::c_char, + ) -> DL_FUNC; +} diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..5ec53432 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..5ec53432 --- /dev/null +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..7f98b9b6 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..7f98b9b6 --- /dev/null +++ b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs @@ -0,0 +1,19 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..264a79c4 --- /dev/null +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs @@ -0,0 +1,34 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs index 4d11c2b2..1b6b6c10 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs index 82907fb2..cd355de0 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs index 17b1a3ae..550c043e 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -1,34 +1,34 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); - pub fn CleanEd(); - pub fn R_CleanTempDir(); - pub fn setup_term_ui(); - pub static mut UserBreak: ::std::os::raw::c_int; - pub fn GA_initapp( - arg1: ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_appcleanup(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +extern "C" { + pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); + pub fn Rf_initialize_R( + ac: ::std::os::raw::c_int, + av: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn setup_Rmainloop(); + pub fn R_RunExitFinalizers(); + pub fn CleanEd(); + pub fn R_CleanTempDir(); + pub fn setup_term_ui(); + pub static mut UserBreak: ::std::os::raw::c_int; + pub fn GA_initapp( + arg1: ::std::os::raw::c_int, + arg2: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_appcleanup(); +} diff --git a/bindings/bindings-Riconv-linux-aarch64-R4.2.rs b/bindings/bindings-Riconv-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..1a8a33f4 --- /dev/null +++ b/bindings/bindings-Riconv-linux-aarch64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-linux-x86_64-R4.2.rs b/bindings/bindings-Riconv-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..1a8a33f4 --- /dev/null +++ b/bindings/bindings-Riconv-linux-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-aarch64-R4.2.rs b/bindings/bindings-Riconv-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..c665a426 --- /dev/null +++ b/bindings/bindings-Riconv-macos-aarch64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-macos-x86_64-R4.2.rs b/bindings/bindings-Riconv-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..c665a426 --- /dev/null +++ b/bindings/bindings-Riconv-macos-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.2.rs b/bindings/bindings-Riconv-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..a442598d --- /dev/null +++ b/bindings/bindings-Riconv-windows-x86_64-R4.2.rs @@ -0,0 +1,22 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.3.rs b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs index 92b535f8..dd9101ba 100644 --- a/bindings/bindings-Riconv-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Riconv-windows-x86_64-R4.3.rs @@ -1,22 +1,22 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs index d7fee410..eebba16c 100644 --- a/bindings/bindings-Riconv-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Riconv-windows-x86_64-R4.4.rs @@ -1,22 +1,22 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs index 422da31d..056c1235 100644 --- a/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Riconv-windows-x86_64-R4.5-devel.rs @@ -1,22 +1,22 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn Riconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_void; + pub fn Riconv( + cd: *mut ::std::os::raw::c_void, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..051f1e12 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..051f1e12 --- /dev/null +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs @@ -0,0 +1,67 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..4ddad611 --- /dev/null +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs @@ -0,0 +1,74 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..4ddad611 --- /dev/null +++ b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs @@ -0,0 +1,74 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +extern "C" { + pub fn R_FlushConsole(); + pub fn Rf_onintr(); + pub fn Rf_onintrNoResume(); + #[doc = "C stack limit"] + pub static mut R_CStackLimit: usize; +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..00f5bb3d --- /dev/null +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs @@ -0,0 +1,914 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs index 460e03ba..01d667c7 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs @@ -260,7 +260,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -271,9 +270,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -288,7 +285,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -337,30 +333,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -527,7 +506,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -561,17 +539,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -638,6 +608,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -883,13 +854,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -922,8 +891,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -946,8 +913,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs index 9a9ec0fa..741c352e 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs @@ -261,7 +261,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -272,9 +271,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -289,7 +286,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -338,30 +334,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -528,7 +507,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -563,17 +541,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -641,6 +611,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -886,13 +857,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -925,8 +894,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -949,8 +916,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs index b6f05e07..8fe0d4ab 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs @@ -263,7 +263,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -276,9 +275,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -293,7 +290,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -343,35 +339,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -539,7 +518,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; @@ -576,17 +554,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -651,6 +621,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -895,13 +866,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -934,8 +903,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -958,9 +925,12 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..00f5bb3d --- /dev/null +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs @@ -0,0 +1,914 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __off_t = ::std::os::raw::c_long; +pub type __off64_t = ::std::os::raw::c_long; +pub type FILE = _IO_FILE; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_marker { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_codecvt { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_wide_data { + _unused: [u8; 0], +} +pub type _IO_lock_t = ::std::os::raw::c_void; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _IO_FILE { + pub _flags: ::std::os::raw::c_int, + pub _IO_read_ptr: *mut ::std::os::raw::c_char, + pub _IO_read_end: *mut ::std::os::raw::c_char, + pub _IO_read_base: *mut ::std::os::raw::c_char, + pub _IO_write_base: *mut ::std::os::raw::c_char, + pub _IO_write_ptr: *mut ::std::os::raw::c_char, + pub _IO_write_end: *mut ::std::os::raw::c_char, + pub _IO_buf_base: *mut ::std::os::raw::c_char, + pub _IO_buf_end: *mut ::std::os::raw::c_char, + pub _IO_save_base: *mut ::std::os::raw::c_char, + pub _IO_backup_base: *mut ::std::os::raw::c_char, + pub _IO_save_end: *mut ::std::os::raw::c_char, + pub _markers: *mut _IO_marker, + pub _chain: *mut _IO_FILE, + pub _fileno: ::std::os::raw::c_int, + pub _flags2: ::std::os::raw::c_int, + pub _old_offset: __off_t, + pub _cur_column: ::std::os::raw::c_ushort, + pub _vtable_offset: ::std::os::raw::c_schar, + pub _shortbuf: [::std::os::raw::c_char; 1usize], + pub _lock: *mut _IO_lock_t, + pub _offset: __off64_t, + pub _codecvt: *mut _IO_codecvt, + pub _wide_data: *mut _IO_wide_data, + pub _freeres_list: *mut _IO_FILE, + pub _freeres_buf: *mut ::std::os::raw::c_void, + pub __pad5: usize, + pub _mode: ::std::os::raw::c_int, + pub _unused2: [::std::os::raw::c_char; 20usize], +} +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_2 = _bindgen_ty_2::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_2 = _bindgen_ty_2::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_2 = _bindgen_ty_2::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_2 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs index 460e03ba..01d667c7 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs @@ -260,7 +260,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -271,9 +270,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -288,7 +285,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -337,30 +333,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -527,7 +506,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -561,17 +539,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -638,6 +608,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -883,13 +854,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -922,8 +891,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -946,8 +913,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs index 9a9ec0fa..741c352e 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs @@ -261,7 +261,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -272,9 +271,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -289,7 +286,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -338,30 +334,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -528,7 +507,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -563,17 +541,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -641,6 +611,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -886,13 +857,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -925,8 +894,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -949,8 +916,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs index b6f05e07..8fe0d4ab 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs @@ -263,7 +263,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -276,9 +275,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -293,7 +290,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -343,35 +339,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -539,7 +518,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; @@ -576,17 +554,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -651,6 +621,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -895,13 +866,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -934,8 +903,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -958,9 +925,12 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..c595d229 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs @@ -0,0 +1,922 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs index 28ae65e0..bb58873b 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs @@ -268,7 +268,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -279,9 +278,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -296,7 +293,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -345,30 +341,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -535,7 +514,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -569,17 +547,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -646,6 +616,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -891,13 +862,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -930,8 +899,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -954,8 +921,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs index 6fa4c5f2..c7dcdf58 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs @@ -269,7 +269,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -280,9 +279,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -297,7 +294,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -346,30 +342,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -536,7 +515,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -571,17 +549,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -649,6 +619,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -894,13 +865,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -933,8 +902,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -957,8 +924,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs index ecbcbec6..1c119284 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs @@ -271,7 +271,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -284,9 +283,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -301,7 +298,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -351,35 +347,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -547,7 +526,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; @@ -584,17 +562,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -659,6 +629,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -903,13 +874,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -942,8 +911,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -966,9 +933,12 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..c595d229 --- /dev/null +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs @@ -0,0 +1,922 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int64_t = ::std::os::raw::c_longlong; +pub type __darwin_off_t = __int64_t; +pub type fpos_t = __darwin_off_t; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sbuf { + pub _base: *mut ::std::os::raw::c_uchar, + pub _size: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILEX { + _unused: [u8; 0], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sFILE { + pub _p: *mut ::std::os::raw::c_uchar, + pub _r: ::std::os::raw::c_int, + pub _w: ::std::os::raw::c_int, + pub _flags: ::std::os::raw::c_short, + pub _file: ::std::os::raw::c_short, + pub _bf: __sbuf, + pub _lbfsize: ::std::os::raw::c_int, + pub _cookie: *mut ::std::os::raw::c_void, + pub _close: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, + >, + pub _read: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *mut ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _seek: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: fpos_t, + arg3: ::std::os::raw::c_int, + ) -> fpos_t, + >, + pub _write: ::std::option::Option< + unsafe extern "C" fn( + arg1: *mut ::std::os::raw::c_void, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int, + >, + pub _ub: __sbuf, + pub _extra: *mut __sFILEX, + pub _ur: ::std::os::raw::c_int, + pub _ubuf: [::std::os::raw::c_uchar; 3usize], + pub _nbuf: [::std::os::raw::c_uchar; 1usize], + pub _lb: __sbuf, + pub _blksize: ::std::os::raw::c_int, + pub _offset: fpos_t, +} +pub type FILE = __sFILE; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs index 6fa4c5f2..c7dcdf58 100644 --- a/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs @@ -269,7 +269,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -280,9 +279,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -297,7 +294,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -346,30 +342,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -536,7 +515,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -571,17 +549,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -649,6 +619,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -894,13 +865,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -933,8 +902,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -957,8 +924,11 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; } diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..57ebeb0f --- /dev/null +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs @@ -0,0 +1,885 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node creaed in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs index 5a2d3971..2642f81d 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -1,973 +1,943 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - S4SXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + S4SXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_applyClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs index 9d06a735..5c9c3af5 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -1,976 +1,946 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_reEnc3( + x: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + tocode: *const ::std::os::raw::c_char, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs index 096d5488..186d55dd 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -1,986 +1,956 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -pub const R_LEN_T_MAX: u32 = 2147483647; -pub const R_XLEN_T_MAX: u64 = 4503599627370496; -pub const R_SHORT_LEN_MAX: u32 = 2147483647; -pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; -pub const TYPE_BITS: u32 = 5; -pub const MAX_NUM_SEXPTYPE: u32 = 32; -pub const NAMEDMAX: u32 = 7; -pub const R_XDR_DOUBLE_SIZE: u32 = 8; -pub const R_XDR_INTEGER_SIZE: u32 = 4; -pub const R_CODESET_MAX: u32 = 63; -pub const IDENT_NUM_AS_BITS: u32 = 1; -pub const IDENT_NA_AS_BITS: u32 = 2; -pub const IDENT_ATTR_BY_ORDER: u32 = 4; -pub const IDENT_USE_BYTECODE: u32 = 8; -pub const IDENT_USE_CLOENV: u32 = 16; -pub const IDENT_USE_SRCREF: u32 = 32; -pub const IDENT_EXTPTR_AS_REF: u32 = 64; -pub const HT_TYPE_IDENTICAL: u32 = 0; -pub const HT_TYPE_ADDRESS: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _iobuf { - pub _Placeholder: *mut ::std::os::raw::c_void, -} -pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type Rbyte = ::std::os::raw::c_uchar; -#[doc = "type for length of (standard, not long) vectors etc"] -pub type R_len_t = ::std::os::raw::c_int; -#[repr(u32)] -#[doc = "------ enum_SEXPTYPE -----"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SEXPTYPE { - #[doc = "nil = NULL"] - NILSXP = 0, - #[doc = "symbols"] - SYMSXP = 1, - #[doc = "lists of dotted pairs"] - LISTSXP = 2, - #[doc = "closures"] - CLOSXP = 3, - #[doc = "environments"] - ENVSXP = 4, - #[doc = "promises: \\[un\\]evaluated closure arguments"] - PROMSXP = 5, - #[doc = "language constructs (special lists)"] - LANGSXP = 6, - #[doc = "special forms"] - SPECIALSXP = 7, - #[doc = "builtin non-special forms"] - BUILTINSXP = 8, - #[doc = "\"scalar\" string type (internal only)"] - CHARSXP = 9, - #[doc = "logical vectors"] - LGLSXP = 10, - #[doc = "integer vectors"] - INTSXP = 13, - #[doc = "real variables"] - REALSXP = 14, - #[doc = "complex variables"] - CPLXSXP = 15, - #[doc = "string vectors"] - STRSXP = 16, - #[doc = "dot-dot-dot object"] - DOTSXP = 17, - #[doc = "make \"any\" args work"] - ANYSXP = 18, - #[doc = "generic vectors"] - VECSXP = 19, - #[doc = "expressions vectors"] - EXPRSXP = 20, - #[doc = "byte code"] - BCODESXP = 21, - #[doc = "external pointer"] - EXTPTRSXP = 22, - #[doc = "weak reference"] - WEAKREFSXP = 23, - #[doc = "raw bytes"] - RAWSXP = 24, - #[doc = "S4 non-vector"] - OBJSXP = 25, - #[doc = "fresh node created in new page"] - NEWSXP = 30, - #[doc = "node released by GC"] - FREESXP = 31, - #[doc = "Closure or Builtin"] - FUNSXP = 99, -} -pub type SEXP = *mut SEXPREC; -#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] -pub type PROTECT_INDEX = ::std::os::raw::c_int; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - _unused: [u8; 0], -} -pub type R_allocator_t = R_allocator; -#[repr(u32)] -#[doc = "../main/character.c :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum nchar_type { - Bytes = 0, - Chars = 1, - Width = 2, -} -#[repr(u32)] -#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum cetype_t { - CE_NATIVE = 0, - CE_UTF8 = 1, - CE_LATIN1 = 2, - CE_BYTES = 3, - CE_SYMBOL = 5, - CE_ANY = 99, -} -#[doc = "Finalization interface"] -pub type R_CFinalizer_t = ::std::option::Option; -pub type R_pstream_data_t = *mut ::std::os::raw::c_void; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_pstream_format_t { - R_pstream_any_format = 0, - R_pstream_ascii_format = 1, - R_pstream_binary_format = 2, - R_pstream_xdr_format = 3, - R_pstream_asciihex_format = 4, -} -pub type R_outpstream_t = *mut R_outpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_outpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub version: ::std::os::raw::c_int, - pub OutChar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - pub OutBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub OutPersistHookFunc: - ::std::option::Option SEXP>, - pub OutPersistHookData: SEXP, -} -pub type R_inpstream_t = *mut R_inpstream_st; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_inpstream_st { - pub data: R_pstream_data_t, - pub type_: R_pstream_format_t, - pub InChar: - ::std::option::Option ::std::os::raw::c_int>, - pub InBytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - pub InPersistHookFunc: - ::std::option::Option SEXP>, - pub InPersistHookData: SEXP, - pub native_encoding: [::std::os::raw::c_char; 64usize], - pub nat2nat_obj: *mut ::std::os::raw::c_void, - pub nat2utf8_obj: *mut ::std::os::raw::c_void, -} -pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; -pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; -pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; -pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; -pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; -pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; -#[repr(i32)] -#[doc = "ALTREP sorting support"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum _bindgen_ty_1 { - SORTED_DECR_NA_1ST = -2, - SORTED_DECR = -1, - #[doc = "INT_MIN is NA_INTEGER!"] - UNKNOWN_SORTEDNESS = -2147483648, - SORTED_INCR = 1, - SORTED_INCR_NA_1ST = 2, - KNOWN_UNSORTED = 0, -} -#[doc = "try to allow some type checking"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_hashtab_type { - pub cell: SEXP, -} -extern "C" { - pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; - #[doc = "Various tests with macro versions in the internal headers"] - pub fn Rf_isNull(s: SEXP) -> Rboolean; - pub fn Rf_isSymbol(s: SEXP) -> Rboolean; - pub fn Rf_isLogical(s: SEXP) -> Rboolean; - pub fn Rf_isReal(s: SEXP) -> Rboolean; - pub fn Rf_isComplex(s: SEXP) -> Rboolean; - pub fn Rf_isExpression(s: SEXP) -> Rboolean; - pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; - pub fn Rf_isString(s: SEXP) -> Rboolean; - pub fn Rf_isObject(s: SEXP) -> Rboolean; - pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; - pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "General Cons Cell Attributes"] - pub fn ATTRIB(x: SEXP) -> SEXP; - pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; - pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_ATTRIB(x: SEXP, v: SEXP); - pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); - pub fn MARK_NOT_MUTABLE(x: SEXP); - pub fn CLEAR_ATTRIB(x: SEXP); - pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "S4 object testing"] - pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Vector Access Functions"] - pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; - pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn RAW(x: SEXP) -> *mut Rbyte; - pub fn REAL(x: SEXP) -> *mut f64; - pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; - pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn RAW_RO(x: SEXP) -> *const Rbyte; - pub fn REAL_RO(x: SEXP) -> *const f64; - pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; - #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] - pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); - pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; - pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; - pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; - pub fn INTEGER_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; - pub fn LOGICAL_GET_REGION( - sx: SEXP, - i: R_xlen_t, - n: R_xlen_t, - buf: *mut ::std::os::raw::c_int, - ) -> R_xlen_t; - pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; - pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; - #[doc = "metadata access"] - pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; - pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; - pub fn TAG(e: SEXP) -> SEXP; - pub fn CDR(e: SEXP) -> SEXP; - pub fn CAAR(e: SEXP) -> SEXP; - pub fn CDAR(e: SEXP) -> SEXP; - pub fn CADR(e: SEXP) -> SEXP; - pub fn CDDR(e: SEXP) -> SEXP; - pub fn CDDDR(e: SEXP) -> SEXP; - pub fn CADDR(e: SEXP) -> SEXP; - pub fn CADDDR(e: SEXP) -> SEXP; - pub fn CAD4R(e: SEXP) -> SEXP; - pub fn CAD5R(e: SEXP) -> SEXP; - pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_TAG(x: SEXP, y: SEXP); - pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; - pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; - #[doc = "Closure Access Functions"] - pub fn FORMALS(x: SEXP) -> SEXP; - pub fn BODY(x: SEXP) -> SEXP; - pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; - pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; - pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); - pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; - pub fn R_ClosureBody(arg1: SEXP) -> SEXP; - pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; - #[doc = "Symbol Access Functions"] - pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; - pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "External pointer access macros"] - pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; - pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; - pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; - #[doc = "The \"global\" environment"] - pub static mut R_GlobalEnv: SEXP; - #[doc = "An empty environment at the root of the\nenvironment tree"] - pub static mut R_EmptyEnv: SEXP; - #[doc = "The base environment; formerly R_NilValue"] - pub static mut R_BaseEnv: SEXP; - #[doc = "The (fake) namespace for base"] - pub static mut R_BaseNamespace: SEXP; - #[doc = "Registry for registered namespaces"] - pub static mut R_NamespaceRegistry: SEXP; - #[doc = "Current srcref, for debuggers"] - pub static mut R_Srcref: SEXP; - #[doc = "The nil object"] - pub static mut R_NilValue: SEXP; - #[doc = "Unbound marker"] - pub static mut R_UnboundValue: SEXP; - #[doc = "Missing argument marker"] - pub static mut R_MissingArg: SEXP; - #[doc = "To be found in BC interp. state\n(marker)"] - pub static mut R_InBCInterpreter: SEXP; - #[doc = "Use current expression (marker)"] - pub static mut R_CurrentExpression: SEXP; - #[doc = "Marker for restarted function calls"] - pub static mut R_RestartToken: SEXP; - #[doc = "\"as.character\""] - pub static mut R_AsCharacterSymbol: SEXP; - #[doc = "\"@\""] - pub static mut R_AtsignSymbol: SEXP; - #[doc = "<-- backcompatible version of:"] - pub static mut R_baseSymbol: SEXP; - #[doc = "\"base\""] - pub static mut R_BaseSymbol: SEXP; - #[doc = "\"{\""] - pub static mut R_BraceSymbol: SEXP; - #[doc = "\"\\[\\[\""] - pub static mut R_Bracket2Symbol: SEXP; - #[doc = "\"\\[\""] - pub static mut R_BracketSymbol: SEXP; - #[doc = "\"class\""] - pub static mut R_ClassSymbol: SEXP; - #[doc = "\".Device\""] - pub static mut R_DeviceSymbol: SEXP; - #[doc = "\"dimnames\""] - pub static mut R_DimNamesSymbol: SEXP; - #[doc = "\"dim\""] - pub static mut R_DimSymbol: SEXP; - #[doc = "\"$\""] - pub static mut R_DollarSymbol: SEXP; - #[doc = "\"...\""] - pub static mut R_DotsSymbol: SEXP; - #[doc = "\"::\""] - pub static mut R_DoubleColonSymbol: SEXP; - #[doc = "\"drop\""] - pub static mut R_DropSymbol: SEXP; - #[doc = "\"eval\""] - pub static mut R_EvalSymbol: SEXP; - #[doc = "\"function\""] - pub static mut R_FunctionSymbol: SEXP; - #[doc = "\".Last.value\""] - pub static mut R_LastvalueSymbol: SEXP; - #[doc = "\"levels\""] - pub static mut R_LevelsSymbol: SEXP; - #[doc = "\"mode\""] - pub static mut R_ModeSymbol: SEXP; - #[doc = "\"na.rm\""] - pub static mut R_NaRmSymbol: SEXP; - #[doc = "\"name\""] - pub static mut R_NameSymbol: SEXP; - #[doc = "\"names\""] - pub static mut R_NamesSymbol: SEXP; - #[doc = "\".__NAMESPACE__.\""] - pub static mut R_NamespaceEnvSymbol: SEXP; - #[doc = "\"package\""] - pub static mut R_PackageSymbol: SEXP; - #[doc = "\"previous\""] - pub static mut R_PreviousSymbol: SEXP; - #[doc = "\"quote\""] - pub static mut R_QuoteSymbol: SEXP; - #[doc = "\"row.names\""] - pub static mut R_RowNamesSymbol: SEXP; - #[doc = "\".Random.seed\""] - pub static mut R_SeedsSymbol: SEXP; - #[doc = "\"sort.list\""] - pub static mut R_SortListSymbol: SEXP; - #[doc = "\"source\""] - pub static mut R_SourceSymbol: SEXP; - #[doc = "\"spec\""] - pub static mut R_SpecSymbol: SEXP; - #[doc = "\":::\""] - pub static mut R_TripleColonSymbol: SEXP; - #[doc = "\"tsp\""] - pub static mut R_TspSymbol: SEXP; - #[doc = "\".defined\""] - pub static mut R_dot_defined: SEXP; - #[doc = "\".Method\""] - pub static mut R_dot_Method: SEXP; - #[doc = "\".packageName\""] - pub static mut R_dot_packageName: SEXP; - #[doc = "\".target\""] - pub static mut R_dot_target: SEXP; - #[doc = "\".Generic\""] - pub static mut R_dot_Generic: SEXP; - #[doc = "NA_STRING as a CHARSXP"] - pub static mut R_NaString: SEXP; - #[doc = "\"\" as a CHARSXP"] - pub static mut R_BlankString: SEXP; - #[doc = "\"\" as a STRSXP"] - pub static mut R_BlankScalarString: SEXP; - #[doc = "srcref related functions"] - pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; - #[doc = "Type Coercions of all kinds"] - pub fn Rf_asChar(arg1: SEXP) -> SEXP; - pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; - pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; - pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; - pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; - pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_asReal(x: SEXP) -> f64; - pub fn Rf_asComplex(x: SEXP) -> Rcomplex; - #[doc = "Other Internally Used Functions, excluding those which are inline-able"] - pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn Rf_alloc3DArray( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; - pub fn Rf_allocMatrix( - arg1: SEXPTYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ) -> SEXP; - pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_allocS4Object() -> SEXP; - pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; - #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] - pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; - pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; - pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); - pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); - pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); - pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_duplicate(arg1: SEXP) -> SEXP; - pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; - pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; - pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; - #[doc = "the next really should not be here and is also in Defn.h"] - pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; - pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; - pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); - pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; - pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; - pub fn Rf_GetMatrixDimnames( - arg1: SEXP, - arg2: *mut SEXP, - arg3: *mut SEXP, - arg4: *mut *const ::std::os::raw::c_char, - arg5: *mut *const ::std::os::raw::c_char, - ); - pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; - pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; - pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; - pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; - pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_installChar(arg1: SEXP) -> SEXP; - pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; - pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; - pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; - pub fn R_isTRUE(arg1: SEXP) -> Rboolean; - pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; - pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; - pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; - pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; - pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; - pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_PrintValue(arg1: SEXP); - pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); - pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; - pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; - pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; - pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; - pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; - pub fn Rf_unprotect_ptr(arg1: SEXP); - pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; - pub fn R_GetCurrentEnv() -> SEXP; - pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_S3Class(arg1: SEXP) -> SEXP; - pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; - pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; - pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; - pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; - pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; - pub fn Rf_mkCharLenCE( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: cetype_t, - ) -> SEXP; - pub fn Rf_reEnc( - x: *const ::std::os::raw::c_char, - ce_in: cetype_t, - ce_out: cetype_t, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; - #[doc = "Calling a function with arguments evaluated"] - pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; - #[doc = "External pointer interface"] - pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; - pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; - pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; - pub fn R_ClearExternalPtr(s: SEXP); - pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); - pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); - pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); - #[doc = "Added in R 3.4.0"] - pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; - pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; - pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); - pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); - pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); - pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); - pub fn R_RunPendingFinalizers(); - #[doc = "Weak reference interface"] - pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; - pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; - pub fn R_WeakRefKey(w: SEXP) -> SEXP; - pub fn R_WeakRefValue(w: SEXP) -> SEXP; - pub fn R_RunWeakRefFinalizer(w: SEXP); - pub fn R_BytecodeExpr(e: SEXP) -> SEXP; - #[doc = "Protected evaluation"] - pub fn R_ToplevelExec( - fun: ::std::option::Option, - data: *mut ::std::os::raw::c_void, - ) -> Rboolean; - pub fn R_ExecWithCleanup( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option, - cleandata: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatch( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: SEXP, - arg4: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg5: *mut ::std::os::raw::c_void, - arg6: ::std::option::Option, - arg7: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_tryCatchError( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_withCallingErrorHandler( - arg1: ::std::option::Option< - unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, - >, - arg4: *mut ::std::os::raw::c_void, - ) -> SEXP; - pub fn R_MakeUnwindCont() -> SEXP; - pub fn R_ContinueUnwind(cont: SEXP) -> !; - pub fn R_UnwindProtect( - fun: ::std::option::Option SEXP>, - data: *mut ::std::os::raw::c_void, - cleanfun: ::std::option::Option< - unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), - >, - cleandata: *mut ::std::os::raw::c_void, - cont: SEXP, - ) -> SEXP; - #[doc = "Environment and Binding Features"] - pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; - pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; - pub fn R_PackageEnvName(rho: SEXP) -> SEXP; - pub fn R_FindPackageEnv(info: SEXP) -> SEXP; - pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; - pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; - pub fn R_FindNamespace(info: SEXP) -> SEXP; - pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); - pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; - pub fn R_LockBinding(sym: SEXP, env: SEXP); - pub fn R_unLockBinding(sym: SEXP, env: SEXP); - pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); - pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; - pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; - pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; - #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] - pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; - pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); - pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; - pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); - pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; - pub fn R_InitInPStream( - stream: R_inpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - inchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, - >, - inbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_inpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitOutPStream( - stream: R_outpstream_t, - data: R_pstream_data_t, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - outchar: ::std::option::Option< - unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), - >, - outbytes: ::std::option::Option< - unsafe extern "C" fn( - arg1: R_outpstream_t, - arg2: *mut ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, - ), - >, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileInPStream( - stream: R_inpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_InitFileOutPStream( - stream: R_outpstream_t, - fp: *mut FILE, - type_: R_pstream_format_t, - version: ::std::os::raw::c_int, - phook: ::std::option::Option SEXP>, - pdata: SEXP, - ); - pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); - pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - #[doc = "slot management (in attrib.c)"] - pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; - pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; - pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; - #[doc = "S3-S4 class (inheritance), attrib.c"] - pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; - #[doc = "class definition, new objects (objects.c)"] - pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; - pub fn R_getClassDef_R(what: SEXP) -> SEXP; - pub fn R_has_methods_attached() -> Rboolean; - pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; - pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; - pub fn R_do_new_object(class_def: SEXP) -> SEXP; - #[doc = "supporting a C-level version of is(., .) :"] - pub fn R_check_class_and_super( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - rho: SEXP, - ) -> ::std::os::raw::c_int; - pub fn R_check_class_etc( - x: SEXP, - valid: *mut *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - #[doc = "preserve objects across GCs"] - pub fn R_PreserveObject(arg1: SEXP); - pub fn R_ReleaseObject(arg1: SEXP); - pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - #[doc = "Shutdown actions"] - pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); - pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; - pub fn R_body_no_src(x: SEXP) -> SEXP; - #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] - pub fn R_orderVector( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - arglist: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] - pub fn R_orderVector1( - indx: *mut ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - x: SEXP, - nalast: Rboolean, - decreasing: Rboolean, - ); - #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] - pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; - pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; - pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; - pub fn Rf_isArray(arg1: SEXP) -> Rboolean; - pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; - pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; - pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; - pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; - pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; - pub fn Rf_isList(arg1: SEXP) -> Rboolean; - pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; - pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; - pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; - pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; - pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; - pub fn Rf_isTs(arg1: SEXP) -> Rboolean; - pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; - pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; - pub fn Rf_isVector(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; - pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; - pub fn Rf_lang1(arg1: SEXP) -> SEXP; - pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_lastElt(arg1: SEXP) -> SEXP; - pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_length(arg1: SEXP) -> R_len_t; - pub fn Rf_list1(arg1: SEXP) -> SEXP; - pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; - pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; - pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; - pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) - -> SEXP; - pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; - pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; - pub fn Rf_stringPositionTr( - arg1: SEXP, - arg2: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; - pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; - pub fn Rf_ScalarReal(arg1: f64) -> SEXP; - pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; - pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; - pub fn LENGTH_EX( - x: SEXP, - file: *const ::std::os::raw::c_char, - line: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; - pub fn Rf_protect(arg1: SEXP) -> SEXP; - pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); - pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); - pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); - pub fn CAR(e: SEXP) -> SEXP; - pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; - pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; - pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; - pub fn REAL_OR_NULL(x: SEXP) -> *const f64; - pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; - pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; - pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; - pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; - pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; - pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; - pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; - pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); - pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); - pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); - pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); - #[doc = "ALTREP support"] - pub fn ALTREP_CLASS(x: SEXP) -> SEXP; - pub fn R_altrep_data1(x: SEXP) -> SEXP; - pub fn R_altrep_data2(x: SEXP) -> SEXP; - pub fn R_set_altrep_data1(x: SEXP, v: SEXP); - pub fn R_set_altrep_data2(x: SEXP, v: SEXP); - pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; - pub fn RAW0(x: SEXP) -> *mut Rbyte; - pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "public C interface"] - pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; - pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; - pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; - pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) - -> R_hashtab_type; - pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; - pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; - pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; - pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; - pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; - pub fn R_maphashC( - h: R_hashtab_type, - FUN: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), - >, - data: *mut ::std::os::raw::c_void, - ); - pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); - #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] - pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +pub const R_LEN_T_MAX: u32 = 2147483647; +pub const R_XLEN_T_MAX: u64 = 4503599627370496; +pub const R_SHORT_LEN_MAX: u32 = 2147483647; +pub const R_PRIdXLEN_T: &[u8; 3] = b"td\0"; +pub const TYPE_BITS: u32 = 5; +pub const MAX_NUM_SEXPTYPE: u32 = 32; +pub const NAMEDMAX: u32 = 7; +pub const R_XDR_DOUBLE_SIZE: u32 = 8; +pub const R_XDR_INTEGER_SIZE: u32 = 4; +pub const R_CODESET_MAX: u32 = 63; +pub const IDENT_NUM_AS_BITS: u32 = 1; +pub const IDENT_NA_AS_BITS: u32 = 2; +pub const IDENT_ATTR_BY_ORDER: u32 = 4; +pub const IDENT_USE_BYTECODE: u32 = 8; +pub const IDENT_USE_CLOENV: u32 = 16; +pub const IDENT_USE_SRCREF: u32 = 32; +pub const IDENT_EXTPTR_AS_REF: u32 = 64; +pub const HT_TYPE_IDENTICAL: u32 = 0; +pub const HT_TYPE_ADDRESS: u32 = 1; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _iobuf { + pub _Placeholder: *mut ::std::os::raw::c_void, +} +pub type FILE = _iobuf; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] +pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; +pub type Rbyte = ::std::os::raw::c_uchar; +#[doc = "type for length of (standard, not long) vectors etc"] +pub type R_len_t = ::std::os::raw::c_int; +#[repr(u32)] +#[doc = "------ enum_SEXPTYPE -----"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum SEXPTYPE { + #[doc = "nil = NULL"] + NILSXP = 0, + #[doc = "symbols"] + SYMSXP = 1, + #[doc = "lists of dotted pairs"] + LISTSXP = 2, + #[doc = "closures"] + CLOSXP = 3, + #[doc = "environments"] + ENVSXP = 4, + #[doc = "promises: \\[un\\]evaluated closure arguments"] + PROMSXP = 5, + #[doc = "language constructs (special lists)"] + LANGSXP = 6, + #[doc = "special forms"] + SPECIALSXP = 7, + #[doc = "builtin non-special forms"] + BUILTINSXP = 8, + #[doc = "\"scalar\" string type (internal only)"] + CHARSXP = 9, + #[doc = "logical vectors"] + LGLSXP = 10, + #[doc = "integer vectors"] + INTSXP = 13, + #[doc = "real variables"] + REALSXP = 14, + #[doc = "complex variables"] + CPLXSXP = 15, + #[doc = "string vectors"] + STRSXP = 16, + #[doc = "dot-dot-dot object"] + DOTSXP = 17, + #[doc = "make \"any\" args work"] + ANYSXP = 18, + #[doc = "generic vectors"] + VECSXP = 19, + #[doc = "expressions vectors"] + EXPRSXP = 20, + #[doc = "byte code"] + BCODESXP = 21, + #[doc = "external pointer"] + EXTPTRSXP = 22, + #[doc = "weak reference"] + WEAKREFSXP = 23, + #[doc = "raw bytes"] + RAWSXP = 24, + #[doc = "S4 non-vector"] + OBJSXP = 25, + #[doc = "fresh node created in new page"] + NEWSXP = 30, + #[doc = "node released by GC"] + FREESXP = 31, + #[doc = "Closure or Builtin"] + FUNSXP = 99, +} +pub type SEXP = *mut SEXPREC; +#[doc = "We sometimes need to coerce a protected value and place the new\ncoerced value under protection. For these cases PROTECT_WITH_INDEX\nsaves an index of the protection location that can be used to\nreplace the protected value using REPROTECT."] +pub type PROTECT_INDEX = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_allocator { + _unused: [u8; 0], +} +pub type R_allocator_t = R_allocator; +#[repr(u32)] +#[doc = "../main/character.c :"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nchar_type { + Bytes = 0, + Chars = 1, + Width = 2, +} +#[repr(u32)] +#[doc = "cetype_t is an identifier reseved by POSIX, but it is\nwell established as public. Could remap by a #define though"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum cetype_t { + CE_NATIVE = 0, + CE_UTF8 = 1, + CE_LATIN1 = 2, + CE_BYTES = 3, + CE_SYMBOL = 5, + CE_ANY = 99, +} +#[doc = "Finalization interface"] +pub type R_CFinalizer_t = ::std::option::Option; +pub type R_pstream_data_t = *mut ::std::os::raw::c_void; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum R_pstream_format_t { + R_pstream_any_format = 0, + R_pstream_ascii_format = 1, + R_pstream_binary_format = 2, + R_pstream_xdr_format = 3, + R_pstream_asciihex_format = 4, +} +pub type R_outpstream_t = *mut R_outpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_outpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub version: ::std::os::raw::c_int, + pub OutChar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + pub OutBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub OutPersistHookFunc: + ::std::option::Option SEXP>, + pub OutPersistHookData: SEXP, +} +pub type R_inpstream_t = *mut R_inpstream_st; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_inpstream_st { + pub data: R_pstream_data_t, + pub type_: R_pstream_format_t, + pub InChar: + ::std::option::Option ::std::os::raw::c_int>, + pub InBytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + pub InPersistHookFunc: + ::std::option::Option SEXP>, + pub InPersistHookData: SEXP, + pub native_encoding: [::std::os::raw::c_char; 64usize], + pub nat2nat_obj: *mut ::std::os::raw::c_void, + pub nat2utf8_obj: *mut ::std::os::raw::c_void, +} +pub const SORTED_DECR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR_NA_1ST; +pub const SORTED_DECR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_DECR; +pub const UNKNOWN_SORTEDNESS: _bindgen_ty_1 = _bindgen_ty_1::UNKNOWN_SORTEDNESS; +pub const SORTED_INCR: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR; +pub const SORTED_INCR_NA_1ST: _bindgen_ty_1 = _bindgen_ty_1::SORTED_INCR_NA_1ST; +pub const KNOWN_UNSORTED: _bindgen_ty_1 = _bindgen_ty_1::KNOWN_UNSORTED; +#[repr(i32)] +#[doc = "ALTREP sorting support"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum _bindgen_ty_1 { + SORTED_DECR_NA_1ST = -2, + SORTED_DECR = -1, + #[doc = "INT_MIN is NA_INTEGER!"] + UNKNOWN_SORTEDNESS = -2147483648, + SORTED_INCR = 1, + SORTED_INCR_NA_1ST = 2, + KNOWN_UNSORTED = 0, +} +#[doc = "try to allow some type checking"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct R_hashtab_type { + pub cell: SEXP, +} +extern "C" { + pub fn R_CHAR(x: SEXP) -> *const ::std::os::raw::c_char; + #[doc = "Various tests with macro versions in the internal headers"] + pub fn Rf_isNull(s: SEXP) -> Rboolean; + pub fn Rf_isSymbol(s: SEXP) -> Rboolean; + pub fn Rf_isLogical(s: SEXP) -> Rboolean; + pub fn Rf_isReal(s: SEXP) -> Rboolean; + pub fn Rf_isComplex(s: SEXP) -> Rboolean; + pub fn Rf_isExpression(s: SEXP) -> Rboolean; + pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; + pub fn Rf_isString(s: SEXP) -> Rboolean; + pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "General Cons Cell Attributes"] + pub fn ATTRIB(x: SEXP) -> SEXP; + pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; + pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; + pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_ATTRIB(x: SEXP, v: SEXP); + pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn SHALLOW_DUPLICATE_ATTRIB(to: SEXP, from: SEXP); + pub fn MARK_NOT_MUTABLE(x: SEXP); + pub fn CLEAR_ATTRIB(x: SEXP); + pub fn ANY_ATTRIB(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "S4 object testing"] + pub fn IS_S4_OBJECT(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "Vector Access Functions"] + pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; + pub fn XLENGTH(x: SEXP) -> R_xlen_t; + pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW(x: SEXP) -> *mut Rbyte; + pub fn REAL(x: SEXP) -> *mut f64; + pub fn COMPLEX(x: SEXP) -> *mut Rcomplex; + pub fn LOGICAL_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_RO(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn RAW_RO(x: SEXP) -> *const Rbyte; + pub fn REAL_RO(x: SEXP) -> *const f64; + pub fn COMPLEX_RO(x: SEXP) -> *const Rcomplex; + #[doc = "SEXP (STRING_ELT)(SEXP x, R_xlen_t i);"] + pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); + pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; + pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; + pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; + pub fn INTEGER_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn REAL_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut f64) -> R_xlen_t; + pub fn LOGICAL_GET_REGION( + sx: SEXP, + i: R_xlen_t, + n: R_xlen_t, + buf: *mut ::std::os::raw::c_int, + ) -> R_xlen_t; + pub fn COMPLEX_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rcomplex) -> R_xlen_t; + pub fn RAW_GET_REGION(sx: SEXP, i: R_xlen_t, n: R_xlen_t, buf: *mut Rbyte) -> R_xlen_t; + #[doc = "metadata access"] + pub fn INTEGER_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn INTEGER_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn REAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn LOGICAL_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_IS_SORTED(x: SEXP) -> ::std::os::raw::c_int; + pub fn STRING_NO_NA(x: SEXP) -> ::std::os::raw::c_int; + pub fn TAG(e: SEXP) -> SEXP; + pub fn CDR(e: SEXP) -> SEXP; + pub fn CAAR(e: SEXP) -> SEXP; + pub fn CDAR(e: SEXP) -> SEXP; + pub fn CADR(e: SEXP) -> SEXP; + pub fn CDDR(e: SEXP) -> SEXP; + pub fn CDDDR(e: SEXP) -> SEXP; + pub fn CADDR(e: SEXP) -> SEXP; + pub fn CADDDR(e: SEXP) -> SEXP; + pub fn CAD4R(e: SEXP) -> SEXP; + pub fn CAD5R(e: SEXP) -> SEXP; + pub fn MISSING(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_TAG(x: SEXP, y: SEXP); + pub fn SETCAR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCADDDR(x: SEXP, y: SEXP) -> SEXP; + pub fn SETCAD4R(e: SEXP, y: SEXP) -> SEXP; + #[doc = "Closure Access Functions"] + pub fn FORMALS(x: SEXP) -> SEXP; + pub fn BODY(x: SEXP) -> SEXP; + pub fn CLOENV(x: SEXP) -> SEXP; + pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; + pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; + pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); + pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); + pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; + pub fn R_ClosureBody(arg1: SEXP) -> SEXP; + pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; + #[doc = "Symbol Access Functions"] + pub fn PRINTNAME(x: SEXP) -> SEXP; + pub fn ENCLOS(x: SEXP) -> SEXP; + pub fn R_ParentEnv(arg1: SEXP) -> SEXP; + #[doc = "External pointer access macros"] + pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; + pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; + pub fn EXTPTR_PTR(arg1: SEXP) -> *mut ::std::os::raw::c_void; + #[doc = "The \"global\" environment"] + pub static mut R_GlobalEnv: SEXP; + #[doc = "An empty environment at the root of the\nenvironment tree"] + pub static mut R_EmptyEnv: SEXP; + #[doc = "The base environment; formerly R_NilValue"] + pub static mut R_BaseEnv: SEXP; + #[doc = "The (fake) namespace for base"] + pub static mut R_BaseNamespace: SEXP; + #[doc = "Registry for registered namespaces"] + pub static mut R_NamespaceRegistry: SEXP; + #[doc = "Current srcref, for debuggers"] + pub static mut R_Srcref: SEXP; + #[doc = "The nil object"] + pub static mut R_NilValue: SEXP; + #[doc = "Unbound marker"] + pub static mut R_UnboundValue: SEXP; + #[doc = "Missing argument marker"] + pub static mut R_MissingArg: SEXP; + #[doc = "To be found in BC interp. state\n(marker)"] + pub static mut R_InBCInterpreter: SEXP; + #[doc = "Use current expression (marker)"] + pub static mut R_CurrentExpression: SEXP; + #[doc = "Marker for restarted function calls"] + pub static mut R_RestartToken: SEXP; + #[doc = "\"as.character\""] + pub static mut R_AsCharacterSymbol: SEXP; + #[doc = "\"@\""] + pub static mut R_AtsignSymbol: SEXP; + #[doc = "<-- backcompatible version of:"] + pub static mut R_baseSymbol: SEXP; + #[doc = "\"base\""] + pub static mut R_BaseSymbol: SEXP; + #[doc = "\"{\""] + pub static mut R_BraceSymbol: SEXP; + #[doc = "\"\\[\\[\""] + pub static mut R_Bracket2Symbol: SEXP; + #[doc = "\"\\[\""] + pub static mut R_BracketSymbol: SEXP; + #[doc = "\"class\""] + pub static mut R_ClassSymbol: SEXP; + #[doc = "\".Device\""] + pub static mut R_DeviceSymbol: SEXP; + #[doc = "\"dimnames\""] + pub static mut R_DimNamesSymbol: SEXP; + #[doc = "\"dim\""] + pub static mut R_DimSymbol: SEXP; + #[doc = "\"$\""] + pub static mut R_DollarSymbol: SEXP; + #[doc = "\"...\""] + pub static mut R_DotsSymbol: SEXP; + #[doc = "\"::\""] + pub static mut R_DoubleColonSymbol: SEXP; + #[doc = "\"drop\""] + pub static mut R_DropSymbol: SEXP; + #[doc = "\"eval\""] + pub static mut R_EvalSymbol: SEXP; + #[doc = "\"function\""] + pub static mut R_FunctionSymbol: SEXP; + #[doc = "\".Last.value\""] + pub static mut R_LastvalueSymbol: SEXP; + #[doc = "\"levels\""] + pub static mut R_LevelsSymbol: SEXP; + #[doc = "\"mode\""] + pub static mut R_ModeSymbol: SEXP; + #[doc = "\"na.rm\""] + pub static mut R_NaRmSymbol: SEXP; + #[doc = "\"name\""] + pub static mut R_NameSymbol: SEXP; + #[doc = "\"names\""] + pub static mut R_NamesSymbol: SEXP; + #[doc = "\".__NAMESPACE__.\""] + pub static mut R_NamespaceEnvSymbol: SEXP; + #[doc = "\"package\""] + pub static mut R_PackageSymbol: SEXP; + #[doc = "\"previous\""] + pub static mut R_PreviousSymbol: SEXP; + #[doc = "\"quote\""] + pub static mut R_QuoteSymbol: SEXP; + #[doc = "\"row.names\""] + pub static mut R_RowNamesSymbol: SEXP; + #[doc = "\".Random.seed\""] + pub static mut R_SeedsSymbol: SEXP; + #[doc = "\"sort.list\""] + pub static mut R_SortListSymbol: SEXP; + #[doc = "\"source\""] + pub static mut R_SourceSymbol: SEXP; + #[doc = "\"spec\""] + pub static mut R_SpecSymbol: SEXP; + #[doc = "\":::\""] + pub static mut R_TripleColonSymbol: SEXP; + #[doc = "\"tsp\""] + pub static mut R_TspSymbol: SEXP; + #[doc = "\".defined\""] + pub static mut R_dot_defined: SEXP; + #[doc = "\".Method\""] + pub static mut R_dot_Method: SEXP; + #[doc = "\".packageName\""] + pub static mut R_dot_packageName: SEXP; + #[doc = "\".target\""] + pub static mut R_dot_target: SEXP; + #[doc = "\".Generic\""] + pub static mut R_dot_Generic: SEXP; + #[doc = "NA_STRING as a CHARSXP"] + pub static mut R_NaString: SEXP; + #[doc = "\"\" as a CHARSXP"] + pub static mut R_BlankString: SEXP; + #[doc = "\"\" as a STRSXP"] + pub static mut R_BlankScalarString: SEXP; + #[doc = "srcref related functions"] + pub fn R_GetCurrentSrcref(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_GetSrcFilename(arg1: SEXP) -> SEXP; + #[doc = "Type Coercions of all kinds"] + pub fn Rf_asChar(arg1: SEXP) -> SEXP; + pub fn Rf_coerceVector(arg1: SEXP, arg2: SEXPTYPE) -> SEXP; + pub fn Rf_PairToVectorList(x: SEXP) -> SEXP; + pub fn Rf_VectorToPairList(x: SEXP) -> SEXP; + pub fn Rf_asCharacterFactor(x: SEXP) -> SEXP; + pub fn Rf_asLogical(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asInteger(x: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_asReal(x: SEXP) -> f64; + pub fn Rf_asComplex(x: SEXP) -> Rcomplex; + #[doc = "Other Internally Used Functions, excluding those which are inline-able"] + pub fn Rf_acopy_string(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn Rf_alloc3DArray( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocArray(arg1: SEXPTYPE, arg2: SEXP) -> SEXP; + pub fn Rf_allocMatrix( + arg1: SEXPTYPE, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ) -> SEXP; + pub fn Rf_allocLang(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocList(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_allocS4Object() -> SEXP; + pub fn Rf_allocSExp(arg1: SEXPTYPE) -> SEXP; + #[doc = "next is not documented but generated by inlined calls to Rf_allocVector"] + pub fn Rf_allocVector3(arg1: SEXPTYPE, arg2: R_xlen_t, arg3: *mut R_allocator_t) -> SEXP; + pub fn Rf_any_duplicated(x: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_any_duplicated3(x: SEXP, incomp: SEXP, from_last: Rboolean) -> R_xlen_t; + pub fn Rf_classgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_cons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_copyMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyListMatrix(arg1: SEXP, arg2: SEXP, arg3: Rboolean); + pub fn Rf_copyMostAttrib(arg1: SEXP, arg2: SEXP); + pub fn Rf_copyVector(arg1: SEXP, arg2: SEXP); + pub fn Rf_defineVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_dimgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_dimnamesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_duplicate(arg1: SEXP) -> SEXP; + pub fn Rf_shallow_duplicate(arg1: SEXP) -> SEXP; + pub fn R_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn R_shallow_duplicate_attr(arg1: SEXP) -> SEXP; + pub fn Rf_lazy_duplicate(arg1: SEXP) -> SEXP; + #[doc = "the next really should not be here and is also in Defn.h"] + pub fn Rf_duplicated(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn Rf_eval(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; + pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); + pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; + pub fn Rf_GetColNames(arg1: SEXP) -> SEXP; + pub fn Rf_GetMatrixDimnames( + arg1: SEXP, + arg2: *mut SEXP, + arg3: *mut SEXP, + arg4: *mut *const ::std::os::raw::c_char, + arg5: *mut *const ::std::os::raw::c_char, + ); + pub fn Rf_GetOption(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_GetOption1(arg1: SEXP) -> SEXP; + pub fn Rf_GetOptionDigits() -> ::std::os::raw::c_int; + pub fn Rf_GetOptionWidth() -> ::std::os::raw::c_int; + pub fn Rf_GetRowNames(arg1: SEXP) -> SEXP; + pub fn Rf_gsetVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_install(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_installChar(arg1: SEXP) -> SEXP; + pub fn Rf_installNoTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_installTrChar(arg1: SEXP) -> SEXP; + pub fn Rf_isOrdered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnordered(arg1: SEXP) -> Rboolean; + pub fn Rf_isUnsorted(arg1: SEXP, arg2: Rboolean) -> Rboolean; + pub fn R_isTRUE(arg1: SEXP) -> Rboolean; + pub fn Rf_lengthgets(arg1: SEXP, arg2: R_len_t) -> SEXP; + pub fn Rf_xlengthgets(arg1: SEXP, arg2: R_xlen_t) -> SEXP; + pub fn R_lsInternal(arg1: SEXP, arg2: Rboolean) -> SEXP; + pub fn R_lsInternal3(arg1: SEXP, arg2: Rboolean, arg3: Rboolean) -> SEXP; + pub fn Rf_match(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; + pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_PrintValue(arg1: SEXP); + pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_setVar(arg1: SEXP, arg2: SEXP, arg3: SEXP); + pub fn Rf_str2type(arg1: *const ::std::os::raw::c_char) -> SEXPTYPE; + pub fn Rf_StringBlank(arg1: SEXP) -> Rboolean; + pub fn Rf_substitute(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_topenv(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_translateChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_translateCharUTF8(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2char(arg1: SEXPTYPE) -> *const ::std::os::raw::c_char; + pub fn R_typeToChar(arg1: SEXP) -> *const ::std::os::raw::c_char; + pub fn Rf_type2rstr(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_type2str_nowarn(arg1: SEXPTYPE) -> SEXP; + pub fn Rf_unprotect_ptr(arg1: SEXP); + pub fn R_tryEval(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_tryEvalSilent(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_int) -> SEXP; + pub fn R_GetCurrentEnv() -> SEXP; + pub fn Rf_asS4(arg1: SEXP, arg2: Rboolean, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_S3Class(arg1: SEXP) -> SEXP; + pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; + pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; + pub fn Rf_mkCharLenCE( + arg1: *const ::std::os::raw::c_char, + arg2: ::std::os::raw::c_int, + arg3: cetype_t, + ) -> SEXP; + pub fn Rf_reEnc( + x: *const ::std::os::raw::c_char, + ce_in: cetype_t, + ce_out: cetype_t, + subst: ::std::os::raw::c_int, + ) -> *const ::std::os::raw::c_char; + #[doc = "Calling a function with arguments evaluated"] + pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; + #[doc = "External pointer interface"] + pub fn R_MakeExternalPtr(p: *mut ::std::os::raw::c_void, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddr(s: SEXP) -> *mut ::std::os::raw::c_void; + pub fn R_ExternalPtrTag(s: SEXP) -> SEXP; + pub fn R_ExternalPtrProtected(s: SEXP) -> SEXP; + pub fn R_ClearExternalPtr(s: SEXP); + pub fn R_SetExternalPtrAddr(s: SEXP, p: *mut ::std::os::raw::c_void); + pub fn R_SetExternalPtrTag(s: SEXP, tag: SEXP); + pub fn R_SetExternalPtrProtected(s: SEXP, p: SEXP); + #[doc = "Added in R 3.4.0"] + pub fn R_MakeExternalPtrFn(p: DL_FUNC, tag: SEXP, prot: SEXP) -> SEXP; + pub fn R_ExternalPtrAddrFn(s: SEXP) -> DL_FUNC; + pub fn R_RegisterFinalizer(s: SEXP, fun: SEXP); + pub fn R_RegisterCFinalizer(s: SEXP, fun: R_CFinalizer_t); + pub fn R_RegisterFinalizerEx(s: SEXP, fun: SEXP, onexit: Rboolean); + pub fn R_RegisterCFinalizerEx(s: SEXP, fun: R_CFinalizer_t, onexit: Rboolean); + pub fn R_RunPendingFinalizers(); + #[doc = "Weak reference interface"] + pub fn R_MakeWeakRef(key: SEXP, val: SEXP, fin: SEXP, onexit: Rboolean) -> SEXP; + pub fn R_MakeWeakRefC(key: SEXP, val: SEXP, fin: R_CFinalizer_t, onexit: Rboolean) -> SEXP; + pub fn R_WeakRefKey(w: SEXP) -> SEXP; + pub fn R_WeakRefValue(w: SEXP) -> SEXP; + pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; + pub fn R_BytecodeExpr(e: SEXP) -> SEXP; + #[doc = "Protected evaluation"] + pub fn R_ToplevelExec( + fun: ::std::option::Option, + data: *mut ::std::os::raw::c_void, + ) -> Rboolean; + pub fn R_ExecWithCleanup( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option, + cleandata: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatch( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: SEXP, + arg4: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg5: *mut ::std::os::raw::c_void, + arg6: ::std::option::Option, + arg7: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_tryCatchError( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_withCallingErrorHandler( + arg1: ::std::option::Option< + unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: *mut ::std::os::raw::c_void) -> SEXP, + >, + arg4: *mut ::std::os::raw::c_void, + ) -> SEXP; + pub fn R_MakeUnwindCont() -> SEXP; + pub fn R_ContinueUnwind(cont: SEXP) -> !; + pub fn R_UnwindProtect( + fun: ::std::option::Option SEXP>, + data: *mut ::std::os::raw::c_void, + cleanfun: ::std::option::Option< + unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, jump: Rboolean), + >, + cleandata: *mut ::std::os::raw::c_void, + cont: SEXP, + ) -> SEXP; + #[doc = "Environment and Binding Features"] + pub fn R_NewEnv(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int) -> SEXP; + pub fn R_IsPackageEnv(rho: SEXP) -> Rboolean; + pub fn R_PackageEnvName(rho: SEXP) -> SEXP; + pub fn R_FindPackageEnv(info: SEXP) -> SEXP; + pub fn R_IsNamespaceEnv(rho: SEXP) -> Rboolean; + pub fn R_NamespaceEnvSpec(rho: SEXP) -> SEXP; + pub fn R_FindNamespace(info: SEXP) -> SEXP; + pub fn R_LockEnvironment(env: SEXP, bindings: Rboolean); + pub fn R_EnvironmentIsLocked(env: SEXP) -> Rboolean; + pub fn R_LockBinding(sym: SEXP, env: SEXP); + pub fn R_unLockBinding(sym: SEXP, env: SEXP); + pub fn R_MakeActiveBinding(sym: SEXP, fun: SEXP, env: SEXP); + pub fn R_BindingIsLocked(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_BindingIsActive(sym: SEXP, env: SEXP) -> Rboolean; + pub fn R_ActiveBindingFunction(sym: SEXP, env: SEXP) -> SEXP; + pub fn R_HasFancyBindings(rho: SEXP) -> Rboolean; + #[doc = "../main/errors.c : */\n/* needed for R_load/savehistory handling in front ends"] + pub fn Rf_errorcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...) -> !; + pub fn Rf_warningcall(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn Rf_warningcall_immediate(arg1: SEXP, arg2: *const ::std::os::raw::c_char, ...); + pub fn R_XDREncodeDouble(d: f64, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeDouble(buf: *mut ::std::os::raw::c_void) -> f64; + pub fn R_XDREncodeInteger(i: ::std::os::raw::c_int, buf: *mut ::std::os::raw::c_void); + pub fn R_XDRDecodeInteger(buf: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; + pub fn R_InitInPStream( + stream: R_inpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + inchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_inpstream_t) -> ::std::os::raw::c_int, + >, + inbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_inpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitOutPStream( + stream: R_outpstream_t, + data: R_pstream_data_t, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + outchar: ::std::option::Option< + unsafe extern "C" fn(arg1: R_outpstream_t, arg2: ::std::os::raw::c_int), + >, + outbytes: ::std::option::Option< + unsafe extern "C" fn( + arg1: R_outpstream_t, + arg2: *mut ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, + ), + >, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileInPStream( + stream: R_inpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_InitFileOutPStream( + stream: R_outpstream_t, + fp: *mut FILE, + type_: R_pstream_format_t, + version: ::std::os::raw::c_int, + phook: ::std::option::Option SEXP>, + pdata: SEXP, + ); + pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); + pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; + #[doc = "slot management (in attrib.c)"] + pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; + pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; + pub fn R_has_slot(obj: SEXP, name: SEXP) -> ::std::os::raw::c_int; + #[doc = "S3-S4 class (inheritance), attrib.c"] + pub fn R_S4_extends(klass: SEXP, useTable: SEXP) -> SEXP; + #[doc = "class definition, new objects (objects.c)"] + pub fn R_do_MAKE_CLASS(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef(what: *const ::std::os::raw::c_char) -> SEXP; + pub fn R_getClassDef_R(what: SEXP) -> SEXP; + pub fn R_has_methods_attached() -> Rboolean; + pub fn R_isVirtualClass(class_def: SEXP, env: SEXP) -> Rboolean; + pub fn R_extends(class1: SEXP, class2: SEXP, env: SEXP) -> Rboolean; + pub fn R_do_new_object(class_def: SEXP) -> SEXP; + #[doc = "supporting a C-level version of is(., .) :"] + pub fn R_check_class_and_super( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + rho: SEXP, + ) -> ::std::os::raw::c_int; + pub fn R_check_class_etc( + x: SEXP, + valid: *mut *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + #[doc = "preserve objects across GCs"] + pub fn R_PreserveObject(arg1: SEXP); + pub fn R_ReleaseObject(arg1: SEXP); + pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); + pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); + #[doc = "Shutdown actions"] + pub fn R_dot_Last(); + pub fn R_RunExitFinalizers(); + pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; + pub fn R_body_no_src(x: SEXP) -> SEXP; + #[doc = "C version of R's indx <- order(..., na.last, decreasing) :\ne.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z)"] + pub fn R_orderVector( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + arglist: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "C version of R's indx <- order(x, na.last, decreasing) :"] + pub fn R_orderVector1( + indx: *mut ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + x: SEXP, + nalast: Rboolean, + decreasing: Rboolean, + ); + #[doc = "These are the public inlinable functions that are provided in\nRinlinedfuns.h It is *essential* that these do not appear in any\nother header file, with or without the Rf_ prefix."] + pub fn Rf_allocVector(arg1: SEXPTYPE, arg2: R_xlen_t) -> SEXP; + pub fn Rf_conformable(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn Rf_elt(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_inherits(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isArray(arg1: SEXP) -> Rboolean; + pub fn Rf_isDataFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFactor(arg1: SEXP) -> Rboolean; + pub fn Rf_isFrame(arg1: SEXP) -> Rboolean; + pub fn Rf_isFunction(arg1: SEXP) -> Rboolean; + pub fn Rf_isInteger(arg1: SEXP) -> Rboolean; + pub fn Rf_isLanguage(arg1: SEXP) -> Rboolean; + pub fn Rf_isList(arg1: SEXP) -> Rboolean; + pub fn Rf_isMatrix(arg1: SEXP) -> Rboolean; + pub fn Rf_isNewList(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumber(arg1: SEXP) -> Rboolean; + pub fn Rf_isNumeric(arg1: SEXP) -> Rboolean; + pub fn Rf_isPairList(arg1: SEXP) -> Rboolean; + pub fn Rf_isPrimitive(arg1: SEXP) -> Rboolean; + pub fn Rf_isTs(arg1: SEXP) -> Rboolean; + pub fn Rf_isUserBinop(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidString(arg1: SEXP) -> Rboolean; + pub fn Rf_isValidStringF(arg1: SEXP) -> Rboolean; + pub fn Rf_isVector(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorAtomic(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorList(arg1: SEXP) -> Rboolean; + pub fn Rf_isVectorizable(arg1: SEXP) -> Rboolean; + pub fn Rf_lang1(arg1: SEXP) -> SEXP; + pub fn Rf_lang2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_lang3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_lang4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_lang5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_lang6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_lastElt(arg1: SEXP) -> SEXP; + pub fn Rf_lcons(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_length(arg1: SEXP) -> R_len_t; + pub fn Rf_list1(arg1: SEXP) -> SEXP; + pub fn Rf_list2(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_list3(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; + pub fn Rf_list4(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP) -> SEXP; + pub fn Rf_list5(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP) -> SEXP; + pub fn Rf_list6(arg1: SEXP, arg2: SEXP, arg3: SEXP, arg4: SEXP, arg5: SEXP, arg6: SEXP) + -> SEXP; + pub fn Rf_listAppend(arg1: SEXP, arg2: SEXP) -> SEXP; + pub fn Rf_mkNamed(arg1: SEXPTYPE, arg2: *mut *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_mkString(arg1: *const ::std::os::raw::c_char) -> SEXP; + pub fn Rf_nlevels(arg1: SEXP) -> ::std::os::raw::c_int; + pub fn Rf_stringPositionTr( + arg1: SEXP, + arg2: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn Rf_ScalarComplex(arg1: Rcomplex) -> SEXP; + pub fn Rf_ScalarInteger(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarLogical(arg1: ::std::os::raw::c_int) -> SEXP; + pub fn Rf_ScalarRaw(arg1: Rbyte) -> SEXP; + pub fn Rf_ScalarReal(arg1: f64) -> SEXP; + pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; + pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; + pub fn LENGTH_EX( + x: SEXP, + file: *const ::std::os::raw::c_char, + line: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_protect(arg1: SEXP) -> SEXP; + pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); + pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); + pub fn R_Reprotect(arg1: SEXP, arg2: PROTECT_INDEX); + pub fn CAR(e: SEXP) -> SEXP; + pub fn DATAPTR(x: SEXP) -> *mut ::std::os::raw::c_void; + pub fn DATAPTR_RO(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn DATAPTR_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_void; + pub fn LOGICAL_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn INTEGER_OR_NULL(x: SEXP) -> *const ::std::os::raw::c_int; + pub fn REAL_OR_NULL(x: SEXP) -> *const f64; + pub fn COMPLEX_OR_NULL(x: SEXP) -> *const Rcomplex; + pub fn RAW_OR_NULL(x: SEXP) -> *const Rbyte; + pub fn INTEGER_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn REAL_ELT(x: SEXP, i: R_xlen_t) -> f64; + pub fn LOGICAL_ELT(x: SEXP, i: R_xlen_t) -> ::std::os::raw::c_int; + pub fn COMPLEX_ELT(x: SEXP, i: R_xlen_t) -> Rcomplex; + pub fn RAW_ELT(x: SEXP, i: R_xlen_t) -> Rbyte; + pub fn STRING_ELT(x: SEXP, i: R_xlen_t) -> SEXP; + pub fn SET_LOGICAL_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_INTEGER_ELT(x: SEXP, i: R_xlen_t, v: ::std::os::raw::c_int); + pub fn SET_REAL_ELT(x: SEXP, i: R_xlen_t, v: f64); + pub fn SET_COMPLEX_ELT(x: SEXP, i: R_xlen_t, v: Rcomplex); + pub fn SET_RAW_ELT(x: SEXP, i: R_xlen_t, v: Rbyte); + #[doc = "ALTREP support"] + pub fn ALTREP_CLASS(x: SEXP) -> SEXP; + pub fn R_altrep_data1(x: SEXP) -> SEXP; + pub fn R_altrep_data2(x: SEXP) -> SEXP; + pub fn R_set_altrep_data1(x: SEXP, v: SEXP); + pub fn R_set_altrep_data2(x: SEXP, v: SEXP); + pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; + pub fn RAW0(x: SEXP) -> *mut Rbyte; + pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; + #[doc = "public C interface"] + pub fn R_asHashtable(h: SEXP) -> R_hashtab_type; + pub fn R_HashtabSEXP(h: R_hashtab_type) -> SEXP; + pub fn R_isHashtable(h: SEXP) -> ::std::os::raw::c_int; + pub fn R_mkhashtab(type_: ::std::os::raw::c_int, arg1: ::std::os::raw::c_int) + -> R_hashtab_type; + pub fn R_gethash(h: R_hashtab_type, key: SEXP, nomatch: SEXP) -> SEXP; + pub fn R_sethash(h: R_hashtab_type, key: SEXP, value: SEXP) -> SEXP; + pub fn R_remhash(h: R_hashtab_type, key: SEXP) -> ::std::os::raw::c_int; + pub fn R_numhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_typhash(h: R_hashtab_type) -> ::std::os::raw::c_int; + pub fn R_maphash(h: R_hashtab_type, FUN: SEXP) -> SEXP; + pub fn R_maphashC( + h: R_hashtab_type, + FUN: ::std::option::Option< + unsafe extern "C" fn(arg1: SEXP, arg2: SEXP, arg3: *mut ::std::os::raw::c_void), + >, + data: *mut ::std::os::raw::c_void, + ); + pub fn R_clrhash(h: R_hashtab_type); + #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] + pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; +} diff --git a/bindings/bindings-Rmath-linux-aarch64-R4.2.rs b/bindings/bindings-Rmath-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a6e8bd22 --- /dev/null +++ b/bindings/bindings-Rmath-linux-aarch64-R4.2.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-linux-x86_64-R4.2.rs b/bindings/bindings-Rmath-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a6e8bd22 --- /dev/null +++ b/bindings/bindings-Rmath-linux-x86_64-R4.2.rs @@ -0,0 +1,509 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-aarch64-R4.2.rs b/bindings/bindings-Rmath-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..a62668da --- /dev/null +++ b/bindings/bindings-Rmath-macos-aarch64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-macos-x86_64-R4.2.rs b/bindings/bindings-Rmath-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..a62668da --- /dev/null +++ b/bindings/bindings-Rmath-macos-x86_64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.2.rs b/bindings/bindings-Rmath-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..7e96e745 --- /dev/null +++ b/bindings/bindings-Rmath-windows-x86_64-R4.2.rs @@ -0,0 +1,538 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.2.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distibution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distibution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distibution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.3.rs b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs index aec159ca..a6e41ef9 100644 --- a/bindings/bindings-Rmath-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.3.rs @@ -1,538 +1,538 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.3.3\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sub(arg1: f64, arg2: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.4.rs b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs index 8eba0c68..7c5450ed 100644 --- a/bindings/bindings-Rmath-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.4.rs @@ -1,539 +1,539 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.4.1\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs index 4325e875..d8affb65 100644 --- a/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rmath-windows-x86_64-R4.5-devel.rs @@ -1,539 +1,539 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; -pub const HAVE_EXPM1: u32 = 1; -pub const HAVE_HYPOT: u32 = 1; -pub const HAVE_LOG1P: u32 = 1; -pub const HAVE_WORKING_LOG1P: u32 = 1; -pub const M_SQRT_3: f64 = 1.7320508075688772; -pub const M_SQRT_32: f64 = 5.656854249492381; -pub const M_SQRT_PI: f64 = 1.772453850905516; -pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; -pub const M_SQRT_2dPI: f64 = 0.7978845608028654; -pub const M_LN_2PI: f64 = 1.8378770664093456; -pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; -pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; -pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "R's versions with !R_FINITE checks"] - pub fn R_pow(x: f64, y: f64) -> f64; - pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Random Number Generators"] - pub fn norm_rand() -> f64; - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - pub fn exp_rand() -> f64; - #[doc = "Normal Distribution"] - pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnorm5( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; - pub fn Rf_pnorm_both( - arg1: f64, - arg2: *mut f64, - arg3: *mut f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ); - #[doc = "Uniform Distribution"] - pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_punif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qunif( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; - #[doc = "Gamma Distribution"] - pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgamma( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_log1pmx(arg1: f64) -> f64; - pub fn Rf_log1pexp(arg1: f64) -> f64; - pub fn Rf_log1mexp(arg1: f64) -> f64; - pub fn Rf_lgamma1p(arg1: f64) -> f64; - pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; - #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] - pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; - pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; - #[doc = "Beta Distribution"] - pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; - #[doc = "Lognormal Distribution"] - pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlnorm( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; - #[doc = "Chi-squared Distribution"] - pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qchisq( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rchisq(arg1: f64) -> f64; - #[doc = "Non-central Chi-squared Distribution"] - pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnchisq( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; - #[doc = "F Distribution"] - pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; - #[doc = "Student t Distribution"] - pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qt( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rt(arg1: f64) -> f64; - #[doc = "Binomial Distribution"] - pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; - pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; - #[doc = "Multinomial Distribution"] - pub fn Rf_rmultinom( - arg1: ::std::os::raw::c_int, - arg2: *mut f64, - arg3: ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - #[doc = "Cauchy Distribution"] - pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qcauchy( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; - #[doc = "Exponential Distribution"] - pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qexp( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rexp(arg1: f64) -> f64; - #[doc = "Geometric Distribution"] - pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_pgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qgeom( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rgeom(arg1: f64) -> f64; - #[doc = "Hypergeometric Distribution"] - pub fn Rf_dhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_phyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qhyper( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Negative Binomial Distribution"] - pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; - pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbinom_mu( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; - #[doc = "Poisson Distribution"] - pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_ppois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qpois( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rpois(arg1: f64) -> f64; - #[doc = "Weibull Distribution"] - pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qweibull( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; - #[doc = "Logistic Distribution"] - pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_plogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qlogis( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; - #[doc = "Non-central Beta Distribution"] - pub fn Rf_dnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_pnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnbeta( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; - #[doc = "Non-central F Distribution"] - pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnf( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Non-central Student t Distribution"] - pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qnt( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Studentized Range Distribution"] - pub fn Rf_ptukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qtukey( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: f64, - arg5: ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ) -> f64; - #[doc = "Wilcoxon Rank Sum Distribution"] - pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; - pub fn Rf_pwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qwilcox( - arg1: f64, - arg2: f64, - arg3: f64, - arg4: ::std::os::raw::c_int, - arg5: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; - pub fn wilcox_free(); - #[doc = "Wilcoxon Signed Rank Distribution"] - pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; - pub fn Rf_psignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_qsignrank( - arg1: f64, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64; - pub fn Rf_rsignrank(arg1: f64) -> f64; - pub fn signrank_free(); - #[doc = "Gamma and Related Functions"] - pub fn Rf_gammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn(arg1: f64) -> f64; - pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; - pub fn Rf_dpsifn( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; - pub fn Rf_digamma(arg1: f64) -> f64; - pub fn Rf_trigamma(arg1: f64) -> f64; - pub fn Rf_tetragamma(arg1: f64) -> f64; - pub fn Rf_pentagamma(arg1: f64) -> f64; - pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; - pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; - pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; - #[doc = "Bessel Functions"] - pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; - pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; - pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; - pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; - #[doc = "General Support Functions"] - pub fn Rf_imax2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_imin2( - arg1: ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; - pub fn Rf_sign(arg1: f64) -> f64; - pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; - pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; - pub fn Rf_ftrunc(arg1: f64) -> f64; - pub fn cospi(arg1: f64) -> f64; - pub fn sinpi(arg1: f64) -> f64; - pub fn tanpi(arg1: f64) -> f64; - pub fn Rtanpi(arg1: f64) -> f64; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; +pub const R_VERSION_STRING: &[u8; 6] = b"4.5.0\0"; +pub const HAVE_EXPM1: u32 = 1; +pub const HAVE_HYPOT: u32 = 1; +pub const HAVE_LOG1P: u32 = 1; +pub const HAVE_WORKING_LOG1P: u32 = 1; +pub const M_SQRT_3: f64 = 1.7320508075688772; +pub const M_SQRT_32: f64 = 5.656854249492381; +pub const M_SQRT_PI: f64 = 1.772453850905516; +pub const M_1_SQRT_2PI: f64 = 0.3989422804014327; +pub const M_SQRT_2dPI: f64 = 0.7978845608028654; +pub const M_LN_2PI: f64 = 1.8378770664093456; +pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; +pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; +pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "R's versions with !R_FINITE checks"] + pub fn R_pow(x: f64, y: f64) -> f64; + pub fn R_pow_di(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Random Number Generators"] + pub fn norm_rand() -> f64; + pub fn unif_rand() -> f64; + pub fn R_unif_index(arg1: f64) -> f64; + pub fn exp_rand() -> f64; + #[doc = "Normal Distribution"] + pub fn Rf_dnorm4(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnorm5( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnorm(arg1: f64, arg2: f64) -> f64; + pub fn Rf_pnorm_both( + arg1: f64, + arg2: *mut f64, + arg3: *mut f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ); + #[doc = "Uniform Distribution"] + pub fn Rf_dunif(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_punif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qunif( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_runif(arg1: f64, arg2: f64) -> f64; + #[doc = "Gamma Distribution"] + pub fn Rf_dgamma(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgamma( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_log1pmx(arg1: f64) -> f64; + pub fn Rf_log1pexp(arg1: f64) -> f64; + pub fn Rf_log1mexp(arg1: f64) -> f64; + pub fn Rf_lgamma1p(arg1: f64) -> f64; + pub fn Rf_pow1p(arg1: f64, arg2: f64) -> f64; + #[doc = "Compute the log of a sum or difference from logs of terms, i.e.,\n\n log (exp (logx) + exp (logy))\n or log (exp (logx) - exp (logy))\n\n without causing overflows or throwing away too much accuracy:"] + pub fn Rf_logspace_add(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sub(logx: f64, logy: f64) -> f64; + pub fn Rf_logspace_sum(arg1: *const f64, arg2: ::std::os::raw::c_int) -> f64; + #[doc = "Beta Distribution"] + pub fn Rf_dbeta(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbeta(arg1: f64, arg2: f64) -> f64; + #[doc = "Lognormal Distribution"] + pub fn Rf_dlnorm(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlnorm( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlnorm(arg1: f64, arg2: f64) -> f64; + #[doc = "Chi-squared Distribution"] + pub fn Rf_dchisq(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qchisq( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rchisq(arg1: f64) -> f64; + #[doc = "Non-central Chi-squared Distribution"] + pub fn Rf_dnchisq(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnchisq( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnchisq(arg1: f64, arg2: f64) -> f64; + #[doc = "F Distribution"] + pub fn Rf_df(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rf(arg1: f64, arg2: f64) -> f64; + #[doc = "Student t Distribution"] + pub fn Rf_dt(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qt( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rt(arg1: f64) -> f64; + #[doc = "Binomial Distribution"] + pub fn Rf_dbinom_raw(x: f64, n: f64, p: f64, q: f64, give_log: ::std::os::raw::c_int) -> f64; + pub fn Rf_dbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rbinom(arg1: f64, arg2: f64) -> f64; + #[doc = "Multinomial Distribution"] + pub fn Rf_rmultinom( + arg1: ::std::os::raw::c_int, + arg2: *mut f64, + arg3: ::std::os::raw::c_int, + arg4: *mut ::std::os::raw::c_int, + ); + #[doc = "Cauchy Distribution"] + pub fn Rf_dcauchy(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qcauchy( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rcauchy(arg1: f64, arg2: f64) -> f64; + #[doc = "Exponential Distribution"] + pub fn Rf_dexp(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qexp( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rexp(arg1: f64) -> f64; + #[doc = "Geometric Distribution"] + pub fn Rf_dgeom(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_pgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qgeom( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rgeom(arg1: f64) -> f64; + #[doc = "Hypergeometric Distribution"] + pub fn Rf_dhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_phyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qhyper( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rhyper(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Negative Binomial Distribution"] + pub fn Rf_dnbinom(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom(arg1: f64, arg2: f64) -> f64; + pub fn Rf_dnbinom_mu(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbinom_mu( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbinom_mu(arg1: f64, arg2: f64) -> f64; + #[doc = "Poisson Distribution"] + pub fn Rf_dpois_raw(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_dpois(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_ppois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qpois( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rpois(arg1: f64) -> f64; + #[doc = "Weibull Distribution"] + pub fn Rf_dweibull(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qweibull( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rweibull(arg1: f64, arg2: f64) -> f64; + #[doc = "Logistic Distribution"] + pub fn Rf_dlogis(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_plogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qlogis( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rlogis(arg1: f64, arg2: f64) -> f64; + #[doc = "Non-central Beta Distribution"] + pub fn Rf_dnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_pnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnbeta( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rnbeta(arg1: f64, arg2: f64, arg3: f64) -> f64; + #[doc = "Non-central F Distribution"] + pub fn Rf_dnf(arg1: f64, arg2: f64, arg3: f64, arg4: f64, arg5: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnf( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Non-central Student t Distribution"] + pub fn Rf_dnt(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qnt( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Studentized Range Distribution"] + pub fn Rf_ptukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qtukey( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: f64, + arg5: ::std::os::raw::c_int, + arg6: ::std::os::raw::c_int, + ) -> f64; + #[doc = "Wilcoxon Rank Sum Distribution"] + pub fn Rf_dwilcox(arg1: f64, arg2: f64, arg3: f64, arg4: ::std::os::raw::c_int) -> f64; + pub fn Rf_pwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qwilcox( + arg1: f64, + arg2: f64, + arg3: f64, + arg4: ::std::os::raw::c_int, + arg5: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rwilcox(arg1: f64, arg2: f64) -> f64; + pub fn wilcox_free(); + #[doc = "Wilcoxon Signed Rank Distribution"] + pub fn Rf_dsignrank(arg1: f64, arg2: f64, arg3: ::std::os::raw::c_int) -> f64; + pub fn Rf_psignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_qsignrank( + arg1: f64, + arg2: f64, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + ) -> f64; + pub fn Rf_rsignrank(arg1: f64) -> f64; + pub fn signrank_free(); + #[doc = "Gamma and Related Functions"] + pub fn Rf_gammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn(arg1: f64) -> f64; + pub fn Rf_lgammafn_sign(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; + pub fn Rf_dpsifn( + arg1: f64, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + arg4: ::std::os::raw::c_int, + arg5: *mut f64, + arg6: *mut ::std::os::raw::c_int, + arg7: *mut ::std::os::raw::c_int, + ); + pub fn Rf_psigamma(arg1: f64, arg2: f64) -> f64; + pub fn Rf_digamma(arg1: f64) -> f64; + pub fn Rf_trigamma(arg1: f64) -> f64; + pub fn Rf_tetragamma(arg1: f64) -> f64; + pub fn Rf_pentagamma(arg1: f64) -> f64; + pub fn Rf_beta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lbeta(arg1: f64, arg2: f64) -> f64; + pub fn Rf_choose(arg1: f64, arg2: f64) -> f64; + pub fn Rf_lchoose(arg1: f64, arg2: f64) -> f64; + #[doc = "Bessel Functions"] + pub fn Rf_bessel_i(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_j(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_k(arg1: f64, arg2: f64, arg3: f64) -> f64; + pub fn Rf_bessel_y(arg1: f64, arg2: f64) -> f64; + pub fn Rf_bessel_i_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_j_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + pub fn Rf_bessel_k_ex(arg1: f64, arg2: f64, arg3: f64, arg4: *mut f64) -> f64; + pub fn Rf_bessel_y_ex(arg1: f64, arg2: f64, arg3: *mut f64) -> f64; + #[doc = "General Support Functions"] + pub fn Rf_imax2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_imin2( + arg1: ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn Rf_fmax2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fmin2(arg1: f64, arg2: f64) -> f64; + pub fn Rf_sign(arg1: f64) -> f64; + pub fn Rf_fprec(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fround(arg1: f64, arg2: f64) -> f64; + pub fn Rf_fsign(arg1: f64, arg2: f64) -> f64; + pub fn Rf_ftrunc(arg1: f64) -> f64; + pub fn cospi(arg1: f64) -> f64; + pub fn sinpi(arg1: f64) -> f64; + pub fn tanpi(arg1: f64) -> f64; + pub fn Rtanpi(arg1: f64) -> f64; +} diff --git a/bindings/bindings-Rversion-linux-aarch64-R4.2.rs b/bindings/bindings-Rversion-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..e7d4c56c --- /dev/null +++ b/bindings/bindings-Rversion-linux-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-linux-x86_64-R4.2.rs b/bindings/bindings-Rversion-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..e7d4c56c --- /dev/null +++ b/bindings/bindings-Rversion-linux-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-aarch64-R4.2.rs b/bindings/bindings-Rversion-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..1f9e2675 --- /dev/null +++ b/bindings/bindings-Rversion-macos-aarch64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-macos-x86_64-R4.2.rs b/bindings/bindings-Rversion-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..1f9e2675 --- /dev/null +++ b/bindings/bindings-Rversion-macos-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.2.rs b/bindings/bindings-Rversion-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..df46816d --- /dev/null +++ b/bindings/bindings-Rversion-windows-x86_64-R4.2.rs @@ -0,0 +1,17 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const R_VERSION: u32 = 262659; +pub const R_NICK: &[u8; 17] = b"Shortstop Beagle\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"2.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2023\0"; +pub const R_MONTH: &[u8; 3] = b"03\0"; +pub const R_DAY: &[u8; 3] = b"15\0"; +pub const R_SVN_REVISION: u32 = 83980; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.3.rs b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs index 4a8bb77c..46aeb044 100644 --- a/bindings/bindings-Rversion-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.3.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const R_VERSION: u32 = 262915; -pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"3.3\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"02\0"; -pub const R_DAY: &[u8; 3] = b"29\0"; -pub const R_SVN_REVISION: u32 = 86002; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const R_VERSION: u32 = 262915; +pub const R_NICK: &[u8; 16] = b"Angel Food Cake\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"3.3\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"02\0"; +pub const R_DAY: &[u8; 3] = b"29\0"; +pub const R_SVN_REVISION: u32 = 86002; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.4.rs b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs index 24ec91b2..9646ccc6 100644 --- a/bindings/bindings-Rversion-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.4.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_VERSION: u32 = 263169; -pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"4.1\0"; -pub const R_STATUS: &[u8; 1] = b"\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"14\0"; -pub const R_SVN_REVISION: u32 = 86737; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const R_VERSION: u32 = 263169; +pub const R_NICK: &[u8; 19] = b"Race for Your Life\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"4.1\0"; +pub const R_STATUS: &[u8; 1] = b"\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"14\0"; +pub const R_SVN_REVISION: u32 = 86737; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs index 87029a90..7cd4c74b 100644 --- a/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rversion-windows-x86_64-R4.5-devel.rs @@ -1,17 +1,17 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const R_VERSION: u32 = 263424; -pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; -pub const R_MAJOR: &[u8; 2] = b"4\0"; -pub const R_MINOR: &[u8; 4] = b"5.0\0"; -pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; -pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"07\0"; -pub const R_DAY: &[u8; 3] = b"18\0"; -pub const R_SVN_REVISION: u32 = 86905; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const R_VERSION: u32 = 263424; +pub const R_NICK: &[u8; 24] = b"Unsuffered Consequences\0"; +pub const R_MAJOR: &[u8; 2] = b"4\0"; +pub const R_MINOR: &[u8; 4] = b"5.0\0"; +pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; +pub const R_YEAR: &[u8; 5] = b"2024\0"; +pub const R_MONTH: &[u8; 3] = b"07\0"; +pub const R_DAY: &[u8; 3] = b"18\0"; +pub const R_SVN_REVISION: u32 = 86905; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Utils-linux-aarch64-R4.2.rs b/bindings/bindings-Utils-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..c9c3b642 --- /dev/null +++ b/bindings/bindings-Utils-linux-aarch64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-aarch64-R4.3.rs b/bindings/bindings-Utils-linux-aarch64-R4.3.rs index 928a0e5d..d00a7780 100644 --- a/bindings/bindings-Utils-linux-aarch64-R4.3.rs +++ b/bindings/bindings-Utils-linux-aarch64-R4.3.rs @@ -51,6 +51,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-linux-aarch64-R4.4.rs b/bindings/bindings-Utils-linux-aarch64-R4.4.rs index 0f9fe519..c4cb11df 100644 --- a/bindings/bindings-Utils-linux-aarch64-R4.4.rs +++ b/bindings/bindings-Utils-linux-aarch64-R4.4.rs @@ -51,6 +51,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs index 9781ca21..8dd685a9 100644 --- a/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Utils-linux-aarch64-R4.5-devel.rs @@ -45,6 +45,9 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-linux-x86_64-R4.2.rs b/bindings/bindings-Utils-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..c9c3b642 --- /dev/null +++ b/bindings/bindings-Utils-linux-x86_64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-linux-x86_64-R4.3.rs b/bindings/bindings-Utils-linux-x86_64-R4.3.rs index 928a0e5d..d00a7780 100644 --- a/bindings/bindings-Utils-linux-x86_64-R4.3.rs +++ b/bindings/bindings-Utils-linux-x86_64-R4.3.rs @@ -51,6 +51,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-linux-x86_64-R4.4.rs b/bindings/bindings-Utils-linux-x86_64-R4.4.rs index 0f9fe519..c4cb11df 100644 --- a/bindings/bindings-Utils-linux-x86_64-R4.4.rs +++ b/bindings/bindings-Utils-linux-x86_64-R4.4.rs @@ -51,6 +51,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs index 9781ca21..8dd685a9 100644 --- a/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Utils-linux-x86_64-R4.5-devel.rs @@ -45,6 +45,9 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-macos-aarch64-R4.2.rs b/bindings/bindings-Utils-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..5fa96e02 --- /dev/null +++ b/bindings/bindings-Utils-macos-aarch64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-aarch64-R4.3.rs b/bindings/bindings-Utils-macos-aarch64-R4.3.rs index 3f669cd3..bc608cc6 100644 --- a/bindings/bindings-Utils-macos-aarch64-R4.3.rs +++ b/bindings/bindings-Utils-macos-aarch64-R4.3.rs @@ -51,6 +51,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-macos-aarch64-R4.4.rs b/bindings/bindings-Utils-macos-aarch64-R4.4.rs index dfde9a28..a0baff52 100644 --- a/bindings/bindings-Utils-macos-aarch64-R4.4.rs +++ b/bindings/bindings-Utils-macos-aarch64-R4.4.rs @@ -52,6 +52,10 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs index 0ba510a4..b321b9ba 100644 --- a/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Utils-macos-aarch64-R4.5-devel.rs @@ -45,6 +45,10 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-macos-x86_64-R4.2.rs b/bindings/bindings-Utils-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..5fa96e02 --- /dev/null +++ b/bindings/bindings-Utils-macos-x86_64-R4.2.rs @@ -0,0 +1,111 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-macos-x86_64-R4.4.rs b/bindings/bindings-Utils-macos-x86_64-R4.4.rs index dfde9a28..a0baff52 100644 --- a/bindings/bindings-Utils-macos-x86_64-R4.4.rs +++ b/bindings/bindings-Utils-macos-x86_64-R4.4.rs @@ -52,6 +52,10 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) diff --git a/bindings/bindings-Utils-windows-x86_64-R4.2.rs b/bindings/bindings-Utils-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..0e00ef3b --- /dev/null +++ b/bindings/bindings-Utils-windows-x86_64-R4.2.rs @@ -0,0 +1,128 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct Rcomplex { + pub r: f64, + pub i: f64, +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/bindings/bindings-Utils-windows-x86_64-R4.3.rs index 95e02f68..08b5dc48 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -1,174 +1,177 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c: also in Applic.h"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c: also in Applic.h"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/bindings/bindings-Utils-windows-x86_64-R4.4.rs index 91663e66..a54abb0e 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -1,177 +1,181 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "not API"] - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "not API, entry point no longer exists"] - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] + pub fn Rf_setIVector( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + #[doc = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "not API, entry point no longer exists"] + pub fn find_interv_vec( + xt: *mut f64, + n: *mut ::std::os::raw::c_int, + x: *mut f64, + nx: *mut ::std::os::raw::c_int, + rightmost_closed: *mut ::std::os::raw::c_int, + all_inside: *mut ::std::os::raw::c_int, + indx: *mut ::std::os::raw::c_int, + ); + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs index d3f723db..5c73ffb9 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -1,160 +1,164 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "not API"] - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] +#[repr(C)] +pub struct __BindgenComplex { + pub re: T, + pub im: T, +} +#[repr(C)] +pub struct __BindgenUnionField(::std::marker::PhantomData); +impl __BindgenUnionField { + #[inline] + pub const fn new() -> Self { + __BindgenUnionField(::std::marker::PhantomData) + } + #[inline] + pub unsafe fn as_ref(&self) -> &T { + ::std::mem::transmute(self) + } + #[inline] + pub unsafe fn as_mut(&mut self) -> &mut T { + ::std::mem::transmute(self) + } +} +impl ::std::default::Default for __BindgenUnionField { + #[inline] + fn default() -> Self { + Self::new() + } +} +impl ::std::clone::Clone for __BindgenUnionField { + #[inline] + fn clone(&self) -> Self { + *self + } +} +impl ::std::marker::Copy for __BindgenUnionField {} +impl ::std::fmt::Debug for __BindgenUnionField { + fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { + fmt.write_str("__BindgenUnionField") + } +} +impl ::std::hash::Hash for __BindgenUnionField { + fn hash(&self, _state: &mut H) {} +} +impl ::std::cmp::PartialEq for __BindgenUnionField { + fn eq(&self, _other: &__BindgenUnionField) -> bool { + true + } +} +impl ::std::cmp::Eq for __BindgenUnionField {} +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum Rboolean { + #[doc = ", MAYBE"] + FALSE = 0, + #[doc = ", MAYBE"] + TRUE = 1, +} +#[repr(C)] +pub struct Rcomplex { + pub __bindgen_anon_1: __BindgenUnionField, + pub private_data_c: __BindgenUnionField<__BindgenComplex>, + pub bindgen_union_field: [u64; 2usize], +} +extern "C" { + #[doc = "../../main/sort.c :"] + pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); + pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); + pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); + pub fn rsort_with_index( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_revsort( + arg1: *mut f64, + arg2: *mut ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_iPsort( + arg1: *mut ::std::os::raw::c_int, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int, + ); + pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); + #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] + pub fn R_qsort(v: *mut f64, i: usize, j: usize); + pub fn R_qsort_I( + v: *mut f64, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); + pub fn R_qsort_int_I( + iv: *mut ::std::os::raw::c_int, + II: *mut ::std::os::raw::c_int, + i: ::std::os::raw::c_int, + j: ::std::os::raw::c_int, + ); + #[doc = "../../main/util.c and others :"] + pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "not API"] + pub fn R_ExpandFileNameUTF8( + arg1: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] + pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; + pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) + -> f64; + pub fn R_tmpnam( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_tmpnam2( + prefix: *const ::std::os::raw::c_char, + tempdir: *const ::std::os::raw::c_char, + fileext: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); + pub fn R_CheckUserInterrupt(); + pub fn R_CheckStack(); + pub fn R_CheckStack2(arg1: usize); + #[doc = "../../appl/interv.c: first also in Applic.h\nBoth are API"] + pub fn findInterval( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn findInterval2( + xt: *mut f64, + n: ::std::os::raw::c_int, + x: f64, + rightmost_closed: Rboolean, + all_inside: Rboolean, + left_open: Rboolean, + ilo: ::std::os::raw::c_int, + mflag: *mut ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "../../appl/maxcol.c"] + pub fn R_max_col( + matrix: *mut f64, + nr: *mut ::std::os::raw::c_int, + nc: *mut ::std::os::raw::c_int, + maxes: *mut ::std::os::raw::c_int, + ties_meth: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-Visibility-linux-aarch64-R4.2.rs b/bindings/bindings-Visibility-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-Visibility-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-linux-x86_64-R4.2.rs b/bindings/bindings-Visibility-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-Visibility-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-aarch64-R4.2.rs b/bindings/bindings-Visibility-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-Visibility-macos-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-macos-x86_64-R4.2.rs b/bindings/bindings-Visibility-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-Visibility-macos-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.2.rs b/bindings/bindings-Visibility-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..cd8c4fe0 --- /dev/null +++ b/bindings/bindings-Visibility-windows-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.3.rs b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs index 9ee8c9e5..ddd2233f 100644 --- a/bindings/bindings-Visibility-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Visibility-windows-x86_64-R4.3.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs index 6c794eca..169a1c83 100644 --- a/bindings/bindings-Visibility-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Visibility-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs index 1c81de0f..b2b22575 100644 --- a/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Visibility-windows-x86_64-R4.5-devel.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.2.rs b/bindings/bindings-eventloop-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..a9cbef53 --- /dev/null +++ b/bindings/bindings-eventloop-linux-aarch64-R4.2.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.3.rs b/bindings/bindings-eventloop-linux-aarch64-R4.3.rs index 747682ce..5471d214 100644 --- a/bindings/bindings-eventloop-linux-aarch64-R4.3.rs +++ b/bindings/bindings-eventloop-linux-aarch64-R4.3.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.4.rs b/bindings/bindings-eventloop-linux-aarch64-R4.4.rs index 42d3a421..46785975 100644 --- a/bindings/bindings-eventloop-linux-aarch64-R4.4.rs +++ b/bindings/bindings-eventloop-linux-aarch64-R4.4.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs index 67a7051a..be07108b 100644 --- a/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-eventloop-linux-aarch64-R4.5-devel.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.2.rs b/bindings/bindings-eventloop-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..a9cbef53 --- /dev/null +++ b/bindings/bindings-eventloop-linux-x86_64-R4.2.rs @@ -0,0 +1,56 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __time_t = ::std::os::raw::c_long; +pub type __suseconds_t = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timeval { + pub tv_sec: __time_t, + pub tv_usec: __suseconds_t, +} +pub type __fd_mask = ::std::os::raw::c_long; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub __fds_bits: [__fd_mask; 16usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.3.rs b/bindings/bindings-eventloop-linux-x86_64-R4.3.rs index 747682ce..5471d214 100644 --- a/bindings/bindings-eventloop-linux-x86_64-R4.3.rs +++ b/bindings/bindings-eventloop-linux-x86_64-R4.3.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.4.rs b/bindings/bindings-eventloop-linux-x86_64-R4.4.rs index 42d3a421..46785975 100644 --- a/bindings/bindings-eventloop-linux-x86_64-R4.4.rs +++ b/bindings/bindings-eventloop-linux-x86_64-R4.4.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs b/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs index 67a7051a..be07108b 100644 --- a/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-eventloop-linux-x86_64-R4.5-devel.rs @@ -39,4 +39,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.2.rs b/bindings/bindings-eventloop-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..4a276b39 --- /dev/null +++ b/bindings/bindings-eventloop-macos-aarch64-R4.2.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.3.rs b/bindings/bindings-eventloop-macos-aarch64-R4.3.rs index d701b4f2..ab054f29 100644 --- a/bindings/bindings-eventloop-macos-aarch64-R4.3.rs +++ b/bindings/bindings-eventloop-macos-aarch64-R4.3.rs @@ -31,4 +31,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.4.rs b/bindings/bindings-eventloop-macos-aarch64-R4.4.rs index e68b55ee..62cc2989 100644 --- a/bindings/bindings-eventloop-macos-aarch64-R4.4.rs +++ b/bindings/bindings-eventloop-macos-aarch64-R4.4.rs @@ -31,4 +31,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs b/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs index 67fd33ab..a9478686 100644 --- a/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-eventloop-macos-aarch64-R4.5-devel.rs @@ -31,4 +31,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-eventloop-macos-x86_64-R4.2.rs b/bindings/bindings-eventloop-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..4a276b39 --- /dev/null +++ b/bindings/bindings-eventloop-macos-x86_64-R4.2.rs @@ -0,0 +1,48 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const XActivity: u32 = 1; +pub const StdinActivity: u32 = 2; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type __int32_t = ::std::os::raw::c_int; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct fd_set { + pub fds_bits: [__int32_t; 32usize], +} +pub type InputHandlerProc = + ::std::option::Option; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct _InputHandler { + pub activity: ::std::os::raw::c_int, + pub fileDescriptor: ::std::os::raw::c_int, + pub handler: InputHandlerProc, + pub next: *mut _InputHandler, + #[doc = "Whether we should be listening to this file descriptor or not."] + pub active: ::std::os::raw::c_int, + #[doc = "Data that can be passed to the routine as its only argument.\nThis might be a user-level function or closure when we implement\na callback to R mechanism."] + pub userData: *mut ::std::os::raw::c_void, +} +pub type InputHandler = _InputHandler; +extern "C" { + pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; +} diff --git a/bindings/bindings-eventloop-macos-x86_64-R4.4.rs b/bindings/bindings-eventloop-macos-x86_64-R4.4.rs index e68b55ee..62cc2989 100644 --- a/bindings/bindings-eventloop-macos-x86_64-R4.4.rs +++ b/bindings/bindings-eventloop-macos-x86_64-R4.4.rs @@ -31,4 +31,18 @@ pub struct _InputHandler { pub type InputHandler = _InputHandler; extern "C" { pub fn consoleInputHandler(buf: *mut ::std::os::raw::c_uchar, len: ::std::os::raw::c_int); + pub fn addInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + handler: InputHandlerProc, + activity: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn getInputHandler( + handlers: *mut InputHandler, + fd: ::std::os::raw::c_int, + ) -> *mut InputHandler; + pub fn removeInputHandler( + handlers: *mut *mut InputHandler, + it: *mut InputHandler, + ) -> ::std::os::raw::c_int; } diff --git a/bindings/bindings-ga-windows-x86_64-R4.2.rs b/bindings/bindings-ga-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..422d7859 --- /dev/null +++ b/bindings/bindings-ga-windows-x86_64-R4.2.rs @@ -0,0 +1,387 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.3.rs b/bindings/bindings-ga-windows-x86_64-R4.3.rs index 4b2133f5..4bcf1a47 100644 --- a/bindings/bindings-ga-windows-x86_64-R4.3.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.3.rs @@ -1,387 +1,387 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct gui_obj { - pub kind: ::std::os::raw::c_int, -} -pub type objptr = *mut gui_obj; -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn setuserfilterW(arg1: *const wchar_t); - pub fn askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn setuserfilterW(arg1: *const wchar_t); + pub fn askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.4.rs b/bindings/bindings-ga-windows-x86_64-R4.4.rs index 096f3f2e..f95047a7 100644 --- a/bindings/bindings-ga-windows-x86_64-R4.4.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.4.rs @@ -1,388 +1,388 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_setuserfilterW(arg1: *const wchar_t); - pub fn GA_askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn GA_askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn GA_askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn GA_gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs index 55dbe5fa..f6f37219 100644 --- a/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-ga-windows-x86_64-R4.5-devel.rs @@ -1,388 +1,388 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const DblClick: u32 = 16; -pub const Border: u32 = 269484032; -pub const lSolid: u32 = 0; -pub const lDash: u32 = 69; -pub const lShortDash: u32 = 67; -pub const lLongDash: u32 = 72; -pub const lDot: u32 = 65; -pub const lDashDot: u32 = 16709; -pub const lShortDashDot: u32 = 16707; -pub const lLongDashDot: u32 = 16712; -pub const lDashDotDot: u32 = 4272453; -pub const lShortDashDotDot: u32 = 4272451; -pub const lLongDashDotDot: u32 = 4272456; -pub const HWINSB: u32 = 0; -pub const VWINSB: u32 = 1; -pub const CONTROLSB: u32 = 2; -pub type wchar_t = ::std::os::raw::c_ushort; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type button = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -pub type actionfn = ::std::option::Option; -pub type menufn = ::std::option::Option; -#[doc = "gmenus.c"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct MenuItem { - pub nm: *mut ::std::os::raw::c_char, - pub fn_: menufn, - pub key: ::std::os::raw::c_int, - pub m: menuitem, -} -pub type popup = menu; -#[doc = "printer.c"] -pub type printer = objptr; -#[doc = "metafile.c"] -pub type metafile = objptr; -extern "C" { - #[doc = "renamed functions"] - pub fn GA_gamainloop(); - pub fn GA_gabeep(); - pub fn GA_appcleanup(); - pub fn GA_ismdi() -> ::std::os::raw::c_int; - pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; - pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; - pub fn GA_screen_coords(c: control) -> rect; - pub fn GA_newmdimenu() -> menu; - pub fn GA_newpopup(fn_: actionfn) -> popup; - pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; - pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; - pub fn GA_gchangepopup(w: window, p: popup); - #[doc = "next is limited to current window..."] - pub fn GA_gchangemenubar(mb: menubar); - #[doc = "tooltips.c"] - pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "status.c"] - pub fn GA_addstatusbar() -> ::std::os::raw::c_int; - pub fn GA_delstatusbar() -> ::std::os::raw::c_int; - pub fn GA_setstatus(text: *const ::std::os::raw::c_char); - #[doc = "dialogs.c"] - pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); - pub fn GA_askchangedir(); - pub fn GA_askcdstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesavewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenames( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - multi: ::std::os::raw::c_int, - filters: *const ::std::os::raw::c_char, - filterindex: ::std::os::raw::c_int, - strbuf: *mut ::std::os::raw::c_char, - bufsize: ::std::os::raw::c_int, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_setuserfilterW(arg1: *const wchar_t); - pub fn GA_askfilenameW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - pub fn GA_askfilenamesW( - title: *const wchar_t, - default_name: *const wchar_t, - multi: ::std::os::raw::c_int, - filters: *const wchar_t, - filterindex: ::std::os::raw::c_int, - dir: *const wchar_t, - ) -> *mut wchar_t; - pub fn GA_askfilesaveW( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut wchar_t; - #[doc = "rgb.c"] - pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; - pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; - pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; - pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; - pub fn GA_dialog_bg() -> rgb; - #[doc = "clipboard.c"] - pub fn GA_copytoclipboard(src: drawing); - pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_getstringfromclipboard( - str_: *mut ::std::os::raw::c_char, - n: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; - #[doc = "gimage.c"] - pub fn GA_bitmaptoimage(bm: bitmap) -> image; - pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; - pub fn GA_nextpage(p: printer); - pub fn GA_newmetafile( - name: *const ::std::os::raw::c_char, - width: f64, - height: f64, - xpinch: f64, - ypinch: f64, - ) -> metafile; - pub fn GA_ggetcliprect(d: drawing) -> rect; - pub fn GA_gsetcliprect(d: drawing, r: rect); - pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); - pub fn GA_gscroll(d: drawing, dp: point, r: rect); - pub fn GA_ginvert(d: drawing, r: rect); - pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; - pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); - pub fn GA_gdrawline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p1: point, - p2: point, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gdrawrect( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); - pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); - pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); - pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); - pub fn GA_gdrawellipse( - d: drawing, - width: ::std::os::raw::c_int, - border: rgb, - r: rect, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); - pub fn GA_gdrawpolyline( - d: drawing, - width: ::std::os::raw::c_int, - style: ::std::os::raw::c_int, - c: rgb, - p: *mut point, - n: ::std::os::raw::c_int, - closepath: ::std::os::raw::c_int, - fast: ::std::os::raw::c_int, - lend: ::std::os::raw::c_int, - ljoin: ::std::os::raw::c_int, - lmitre: f32, - ); - pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); - pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_gfillpolypolygon( - d: drawing, - fill: rgb, - p: *mut point, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - ); - pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); - pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); - pub fn GA_gdrawstr( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const ::std::os::raw::c_char, - hadj: f64, - ); - pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_gstrwidth( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_gcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gnewfont( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - ) -> font; - pub fn GA_gnewfont2( - d: drawing, - face: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - rot: f64, - usePoints: ::std::os::raw::c_int, - quality: ::std::os::raw::c_int, - ) -> font; - pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_gdrawwcs( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - ) -> ::std::os::raw::c_int; - pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; - pub fn GA_gwcharmetric( - d: drawing, - f: font, - c: ::std::os::raw::c_int, - ascent: *mut ::std::os::raw::c_int, - descent: *mut ::std::os::raw::c_int, - width: *mut ::std::os::raw::c_int, - ); - pub fn GA_gwdrawstr1( - d: drawing, - f: font, - c: rgb, - p: point, - s: *const wchar_t, - cnt: ::std::os::raw::c_int, - hadj: f64, - ); - pub fn GA_gstrwidth1( - d: drawing, - f: font, - s: *const ::std::os::raw::c_char, - enc: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "pixels"] - pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "mm"] - pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; - #[doc = "pixels per inch"] - pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; - pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; - pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); - pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; - pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); - pub fn GA_gchangescrollbar( - sb: scrollbar, - which: ::std::os::raw::c_int, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - disablenoscroll: ::std::os::raw::c_int, - ); - pub fn GA_gsetcursor(d: drawing, c: cursor); - pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; - pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; - pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); - pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); - pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; - pub fn GA_getcurrentline( - c: textbox, - line: *mut ::std::os::raw::c_char, - length: ::std::os::raw::c_int, - ); - pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); - pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); - pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; - pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); - pub fn GA_getpastelength() -> ::std::os::raw::c_long; - pub fn GA_textselectionex( - obj: control, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_selecttextex( - obj: control, - start: ::std::os::raw::c_long, - end: ::std::os::raw::c_long, - ); - pub fn GA_finddialog(t: textbox); - pub fn GA_replacedialog(t: textbox); - pub fn GA_modeless_active() -> ::std::os::raw::c_int; - #[doc = "menus.c"] - pub fn GA_remove_menu_item(obj: menuitem); - #[doc = "events.c"] - pub fn GA_toolbar_show(); - pub fn GA_toolbar_hide(); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const DblClick: u32 = 16; +pub const Border: u32 = 269484032; +pub const lSolid: u32 = 0; +pub const lDash: u32 = 69; +pub const lShortDash: u32 = 67; +pub const lLongDash: u32 = 72; +pub const lDot: u32 = 65; +pub const lDashDot: u32 = 16709; +pub const lShortDashDot: u32 = 16707; +pub const lLongDashDot: u32 = 16712; +pub const lDashDotDot: u32 = 4272453; +pub const lShortDashDotDot: u32 = 4272451; +pub const lLongDashDotDot: u32 = 4272456; +pub const HWINSB: u32 = 0; +pub const VWINSB: u32 = 1; +pub const CONTROLSB: u32 = 2; +pub type wchar_t = ::std::os::raw::c_ushort; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type button = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +pub type actionfn = ::std::option::Option; +pub type menufn = ::std::option::Option; +#[doc = "gmenus.c"] +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct MenuItem { + pub nm: *mut ::std::os::raw::c_char, + pub fn_: menufn, + pub key: ::std::os::raw::c_int, + pub m: menuitem, +} +pub type popup = menu; +#[doc = "printer.c"] +pub type printer = objptr; +#[doc = "metafile.c"] +pub type metafile = objptr; +extern "C" { + #[doc = "renamed functions"] + pub fn GA_gamainloop(); + pub fn GA_gabeep(); + pub fn GA_appcleanup(); + pub fn GA_ismdi() -> ::std::os::raw::c_int; + pub fn GA_isUnicodeWindow(c: control) -> ::std::os::raw::c_int; + pub fn GA_isiconic(w: window) -> ::std::os::raw::c_int; + pub fn GA_screen_coords(c: control) -> rect; + pub fn GA_newmdimenu() -> menu; + pub fn GA_newpopup(fn_: actionfn) -> popup; + pub fn GA_gmenubar(fn_: actionfn, arg1: *mut MenuItem) -> menubar; + pub fn GA_gpopup(fn_: actionfn, arg1: *mut MenuItem) -> popup; + pub fn GA_gchangepopup(w: window, p: popup); + #[doc = "next is limited to current window..."] + pub fn GA_gchangemenubar(mb: menubar); + #[doc = "tooltips.c"] + pub fn GA_addtooltip(c: control, tp: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "status.c"] + pub fn GA_addstatusbar() -> ::std::os::raw::c_int; + pub fn GA_delstatusbar() -> ::std::os::raw::c_int; + pub fn GA_setstatus(text: *const ::std::os::raw::c_char); + #[doc = "dialogs.c"] + pub fn GA_setuserfilter(arg1: *const ::std::os::raw::c_char); + pub fn GA_askchangedir(); + pub fn GA_askcdstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesavewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenames( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + multi: ::std::os::raw::c_int, + filters: *const ::std::os::raw::c_char, + filterindex: ::std::os::raw::c_int, + strbuf: *mut ::std::os::raw::c_char, + bufsize: ::std::os::raw::c_int, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_countFilenames(strbuf: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_setuserfilterW(arg1: *const wchar_t); + pub fn GA_askfilenameW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + pub fn GA_askfilenamesW( + title: *const wchar_t, + default_name: *const wchar_t, + multi: ::std::os::raw::c_int, + filters: *const wchar_t, + filterindex: ::std::os::raw::c_int, + dir: *const wchar_t, + ) -> *mut wchar_t; + pub fn GA_askfilesaveW( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut wchar_t; + #[doc = "rgb.c"] + pub fn GA_nametorgb(colourname: *const ::std::os::raw::c_char) -> rgb; + pub fn GA_rgbtoname(in_: rgb) -> *const ::std::os::raw::c_char; + pub fn GA_rgbtonum(in_: rgb) -> ::std::os::raw::c_int; + pub fn GA_myGetSysColor(arg1: ::std::os::raw::c_int) -> rgb; + pub fn GA_dialog_bg() -> rgb; + #[doc = "clipboard.c"] + pub fn GA_copytoclipboard(src: drawing); + pub fn GA_copystringtoclipboard(str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_getstringfromclipboard( + str_: *mut ::std::os::raw::c_char, + n: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + pub fn GA_clipboardhastext() -> ::std::os::raw::c_int; + #[doc = "gimage.c"] + pub fn GA_bitmaptoimage(bm: bitmap) -> image; + pub fn GA_newprinter(w: f64, h: f64, name: *const ::std::os::raw::c_char) -> printer; + pub fn GA_nextpage(p: printer); + pub fn GA_newmetafile( + name: *const ::std::os::raw::c_char, + width: f64, + height: f64, + xpinch: f64, + ypinch: f64, + ) -> metafile; + pub fn GA_ggetcliprect(d: drawing) -> rect; + pub fn GA_gsetcliprect(d: drawing, r: rect); + pub fn GA_gbitblt(db: bitmap, sb: bitmap, p: point, r: rect); + pub fn GA_gscroll(d: drawing, dp: point, r: rect); + pub fn GA_ginvert(d: drawing, r: rect); + pub fn GA_ggetpixel(d: drawing, p: point) -> rgb; + pub fn GA_gsetpixel(d: drawing, p: point, c: rgb); + pub fn GA_gdrawline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p1: point, + p2: point, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gdrawrect( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillrect(d: drawing, fill: rgb, r: rect); + pub fn GA_gcopy(d: drawing, d2: drawing, r: rect); + pub fn GA_gcopyalpha(d: drawing, d2: drawing, r: rect, alpha: ::std::os::raw::c_int); + pub fn GA_gcopyalpha2(d: drawing, src: image, r: rect); + pub fn GA_gdrawellipse( + d: drawing, + width: ::std::os::raw::c_int, + border: rgb, + r: rect, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gfillellipse(d: drawing, fill: rgb, r: rect); + pub fn GA_gdrawpolyline( + d: drawing, + width: ::std::os::raw::c_int, + style: ::std::os::raw::c_int, + c: rgb, + p: *mut point, + n: ::std::os::raw::c_int, + closepath: ::std::os::raw::c_int, + fast: ::std::os::raw::c_int, + lend: ::std::os::raw::c_int, + ljoin: ::std::os::raw::c_int, + lmitre: f32, + ); + pub fn GA_gsetpolyfillmode(d: drawing, oddeven: ::std::os::raw::c_int); + pub fn GA_gfillpolygon(d: drawing, fill: rgb, p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_gfillpolypolygon( + d: drawing, + fill: rgb, + p: *mut point, + npoly: ::std::os::raw::c_int, + nper: *mut ::std::os::raw::c_int, + ); + pub fn GA_gdrawimage(d: drawing, img: image, dr: rect, sr: rect); + pub fn GAI_gmaskimage(d: drawing, img: image, dr: rect, sr: rect, mask: image); + pub fn GA_gdrawstr( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const ::std::os::raw::c_char, + hadj: f64, + ); + pub fn GA_gstrrect(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_gstrsize(d: drawing, f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_gstrwidth( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_gcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gnewfont( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + ) -> font; + pub fn GA_gnewfont2( + d: drawing, + face: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + rot: f64, + usePoints: ::std::os::raw::c_int, + quality: ::std::os::raw::c_int, + ) -> font; + pub fn GA_ghasfixedwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_newfield_no_border(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_gdrawwcs( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + ) -> ::std::os::raw::c_int; + pub fn GA_gwcswidth(d: drawing, f: font, s: *const wchar_t) -> ::std::os::raw::c_int; + pub fn GA_gwcharmetric( + d: drawing, + f: font, + c: ::std::os::raw::c_int, + ascent: *mut ::std::os::raw::c_int, + descent: *mut ::std::os::raw::c_int, + width: *mut ::std::os::raw::c_int, + ); + pub fn GA_gwdrawstr1( + d: drawing, + f: font, + c: rgb, + p: point, + s: *const wchar_t, + cnt: ::std::os::raw::c_int, + hadj: f64, + ); + pub fn GA_gstrwidth1( + d: drawing, + f: font, + s: *const ::std::os::raw::c_char, + enc: ::std::os::raw::c_int, + ) -> ::std::os::raw::c_int; + #[doc = "pixels"] + pub fn GA_devicewidth(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheight(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "mm"] + pub fn GA_devicewidthmm(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_deviceheightmm(dev: drawing) -> ::std::os::raw::c_int; + #[doc = "pixels per inch"] + pub fn GA_devicepixelsx(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_devicepixelsy(dev: drawing) -> ::std::os::raw::c_int; + pub fn GA_isTopmost(w: window) -> ::std::os::raw::c_int; + pub fn GA_BringToTop(w: window, stay: ::std::os::raw::c_int); + pub fn GA_getHandle(w: window) -> *mut ::std::os::raw::c_void; + pub fn GA_msgWindow(c: window, type_: ::std::os::raw::c_int); + pub fn GA_gchangescrollbar( + sb: scrollbar, + which: ::std::os::raw::c_int, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + disablenoscroll: ::std::os::raw::c_int, + ); + pub fn GA_gsetcursor(d: drawing, c: cursor); + pub fn GA_newtoolbar(height: ::std::os::raw::c_int) -> control; + pub fn GA_newtoolbutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_scrolltext(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_ggetkeystate() -> ::std::os::raw::c_int; + pub fn GA_scrollcaret(c: textbox, lines: ::std::os::raw::c_int); + pub fn GA_gsetmodified(c: textbox, modified: ::std::os::raw::c_int); + pub fn GA_ggetmodified(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getlinelength(c: textbox) -> ::std::os::raw::c_int; + pub fn GA_getcurrentline( + c: textbox, + line: *mut ::std::os::raw::c_char, + length: ::std::os::raw::c_int, + ); + pub fn GA_getseltext(c: textbox, text: *mut ::std::os::raw::c_char); + pub fn GA_setlimittext(t: textbox, limit: ::std::os::raw::c_long); + pub fn GA_getlimittext(t: textbox) -> ::std::os::raw::c_long; + pub fn GA_checklimittext(t: textbox, n: ::std::os::raw::c_long); + pub fn GA_getpastelength() -> ::std::os::raw::c_long; + pub fn GA_textselectionex( + obj: control, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_selecttextex( + obj: control, + start: ::std::os::raw::c_long, + end: ::std::os::raw::c_long, + ); + pub fn GA_finddialog(t: textbox); + pub fn GA_replacedialog(t: textbox); + pub fn GA_modeless_active() -> ::std::os::raw::c_int; + #[doc = "menus.c"] + pub fn GA_remove_menu_item(obj: menuitem); + #[doc = "events.c"] + pub fn GA_toolbar_show(); + pub fn GA_toolbar_hide(); +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.2.rs b/bindings/bindings-graphapp-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..df06ed8d --- /dev/null +++ b/bindings/bindings-graphapp-windows-x86_64-R4.2.rs @@ -0,0 +1,631 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.3.rs b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs index 99f43047..ea932877 100644 --- a/bindings/bindings-graphapp-windows-x86_64-R4.3.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.3.rs @@ -1,632 +1,632 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const D: u32 = 10; -pub const DornotS: u32 = 11; -pub const S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct gui_obj { - pub kind: ::std::os::raw::c_int, -} -pub type objptr = *mut gui_obj; -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const D: u32 = 10; +pub const DornotS: u32 = 11; +pub const S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct gui_obj { + pub kind: ::std::os::raw::c_int, +} +pub type objptr = *mut gui_obj; +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.4.rs b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs index 96b48418..1ce6f32b 100644 --- a/bindings/bindings-graphapp-windows-x86_64-R4.4.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.4.rs @@ -1,634 +1,634 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs index 04b7f92b..30954952 100644 --- a/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-graphapp-windows-x86_64-R4.5-devel.rs @@ -1,634 +1,634 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const _GRAPHAPP_H: u32 = 240; -pub const Pi: f64 = 3.14159265359; -pub const NoButton: u32 = 0; -pub const LeftButton: u32 = 1; -pub const MiddleButton: u32 = 2; -pub const RightButton: u32 = 4; -pub const BELL: u32 = 7; -pub const BKSP: u32 = 8; -pub const VTAB: u32 = 11; -pub const FF: u32 = 12; -pub const ESC: u32 = 27; -pub const INS: u32 = 8257; -pub const DEL: u32 = 8998; -pub const HOME: u32 = 8632; -pub const END: u32 = 8600; -pub const PGUP: u32 = 8670; -pub const PGDN: u32 = 8671; -pub const ENTER: u32 = 8996; -pub const LEFT: u32 = 8592; -pub const UP: u32 = 8593; -pub const RIGHT: u32 = 8594; -pub const DOWN: u32 = 8595; -pub const F1: u32 = 10092; -pub const F2: u32 = 10093; -pub const F3: u32 = 10094; -pub const F4: u32 = 10095; -pub const F5: u32 = 10096; -pub const F6: u32 = 10097; -pub const F7: u32 = 10098; -pub const F8: u32 = 10099; -pub const F9: u32 = 10100; -pub const F10: u32 = 10101; -pub const gaRed: u32 = 16711680; -pub const gaGreen: u32 = 65280; -pub const gaBlue: u32 = 255; -pub const Transparent: u32 = 4294967295; -pub const Black: u32 = 0; -pub const White: u32 = 16777215; -pub const Yellow: u32 = 16776960; -pub const Magenta: u32 = 16711935; -pub const Cyan: u32 = 65535; -pub const Grey: u32 = 8421504; -pub const Gray: u32 = 8421504; -pub const LightGrey: u32 = 12632256; -pub const LightGray: u32 = 12632256; -pub const DarkGrey: u32 = 4210752; -pub const DarkGray: u32 = 4210752; -pub const DarkBlue: u32 = 128; -pub const DarkGreen: u32 = 32768; -pub const DarkRed: u32 = 9109504; -pub const LightBlue: u32 = 8438015; -pub const LightGreen: u32 = 8454016; -pub const LightRed: u32 = 16761087; -pub const Pink: u32 = 16756655; -pub const Brown: u32 = 6303744; -pub const Orange: u32 = 16744448; -pub const Purple: u32 = 12583167; -pub const Lime: u32 = 8453888; -pub const Zeros: u32 = 0; -pub const DnorS: u32 = 1; -pub const DandnotS: u32 = 2; -pub const notS: u32 = 3; -pub const notDandS: u32 = 4; -pub const notD: u32 = 5; -pub const DxorS: u32 = 6; -pub const DnandS: u32 = 7; -pub const DandS: u32 = 8; -pub const DxnorS: u32 = 9; -pub const GA_D: u32 = 10; -pub const DornotS: u32 = 11; -pub const GA_S: u32 = 12; -pub const notDorS: u32 = 13; -pub const DorS: u32 = 14; -pub const Ones: u32 = 15; -pub const Plain: u32 = 0; -pub const Bold: u32 = 1; -pub const Italic: u32 = 2; -pub const BoldItalic: u32 = 3; -pub const SansSerif: u32 = 4; -pub const FixedWidth: u32 = 8; -pub const Wide: u32 = 16; -pub const Narrow: u32 = 32; -pub const AlignTop: u32 = 0; -pub const AlignBottom: u32 = 256; -pub const VJustify: u32 = 512; -pub const VCenter: u32 = 1024; -pub const VCentre: u32 = 1024; -pub const AlignLeft: u32 = 0; -pub const AlignRight: u32 = 4096; -pub const Justify: u32 = 8192; -pub const Center: u32 = 16384; -pub const Centre: u32 = 16384; -pub const AlignCenter: u32 = 16384; -pub const AlignCentre: u32 = 16384; -pub const Underline: u32 = 2048; -pub const AltKey: u32 = 1; -pub const CmdKey: u32 = 1; -pub const CtrlKey: u32 = 2; -pub const OptionKey: u32 = 2; -pub const ShiftKey: u32 = 4; -pub const SimpleWindow: u32 = 0; -pub const Menubar: u32 = 16; -pub const Titlebar: u32 = 32; -pub const Closebox: u32 = 64; -pub const Resize: u32 = 128; -pub const Maximize: u32 = 256; -pub const Minimize: u32 = 512; -pub const HScrollbar: u32 = 1024; -pub const VScrollbar: u32 = 2048; -pub const CanvasSize: u32 = 4194304; -pub const Modal: u32 = 4096; -pub const Floating: u32 = 8192; -pub const Centered: u32 = 16384; -pub const Centred: u32 = 16384; -pub const Workspace: u32 = 65536; -pub const Document: u32 = 131072; -pub const ChildWindow: u32 = 262144; -pub const TrackMouse: u32 = 524288; -pub const UsePalette: u32 = 1048576; -pub const UseUnicode: u32 = 2097152; -pub const SetUpCaret: u32 = 4194304; -pub const StandardWindow: u32 = 992; -pub const GA_Visible: u32 = 1; -pub const GA_Enabled: u32 = 2; -pub const GA_Checked: u32 = 4; -pub const GA_Highlighted: u32 = 8; -pub const GA_Armed: u32 = 16; -pub const GA_Focus: u32 = 32; -pub const YES: u32 = 1; -pub const NO: i32 = -1; -pub const CANCEL: u32 = 0; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "Types."] -pub type GAbyte = ::std::os::raw::c_uchar; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct objinfo { - _unused: [u8; 0], -} -pub type objptr = *mut objinfo; -#[doc = "end of R modification"] -pub type rgb = ::std::os::raw::c_ulong; -pub type font = objptr; -pub type cursor = objptr; -pub type drawing = objptr; -pub type bitmap = drawing; -pub type window = drawing; -pub type control = drawing; -pub type label = control; -pub type button = control; -pub type checkbox = control; -pub type radiobutton = control; -pub type radiogroup = control; -pub type field = control; -pub type textbox = control; -pub type scrollbar = control; -pub type listbox = control; -pub type progressbar = control; -pub type menubar = control; -pub type menu = control; -pub type menuitem = control; -pub type drawstate = *mut drawstruct; -pub type image = *mut imagedata; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct point { - pub x: ::std::os::raw::c_int, - pub y: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct rect { - #[doc = "top-left point inside rect"] - pub x: ::std::os::raw::c_int, - #[doc = "top-left point inside rect"] - pub y: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub width: ::std::os::raw::c_int, - #[doc = "width and height of rect"] - pub height: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct drawstruct { - pub dest: drawing, - pub hue: rgb, - pub mode: ::std::os::raw::c_int, - pub p: point, - pub linewidth: ::std::os::raw::c_int, - pub fnt: font, - pub crsr: cursor, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct imagedata { - pub depth: ::std::os::raw::c_int, - pub width: ::std::os::raw::c_int, - pub height: ::std::os::raw::c_int, - pub cmapsize: ::std::os::raw::c_int, - pub cmap: *mut rgb, - pub pixels: *mut GAbyte, -} -#[doc = "Call-backs."] -pub type voidfn = ::std::option::Option; -pub type timerfn = ::std::option::Option; -pub type actionfn = ::std::option::Option; -pub type drawfn = ::std::option::Option; -pub type mousefn = ::std::option::Option< - unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), ->; -pub type intfn = - ::std::option::Option; -pub type keyfn = - ::std::option::Option; -pub type menufn = ::std::option::Option; -pub type scrollfn = - ::std::option::Option; -pub type dropfn = - ::std::option::Option; -pub type imfn = - ::std::option::Option; -extern "C" { - #[doc = "General functions."] - pub fn GA_initapp( - argc: ::std::os::raw::c_int, - argv: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_exitapp(); - pub fn GA_drawall(); - pub fn GA_peekevent() -> ::std::os::raw::c_int; - pub fn GA_waitevent(); - pub fn GA_doevent() -> ::std::os::raw::c_int; - pub fn mainloop(); - pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; - #[doc = "Point and rectangle arithmetic."] - pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; - pub fn GA_newrect( - left: ::std::os::raw::c_int, - top: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ) -> rect; - pub fn GA_rpt(min: point, max: point) -> rect; - pub fn GA_topleft(r: rect) -> point; - pub fn GA_bottomright(r: rect) -> point; - pub fn GA_topright(r: rect) -> point; - pub fn GA_bottomleft(r: rect) -> point; - pub fn GA_addpt(p1: point, p2: point) -> point; - pub fn GA_subpt(p1: point, p2: point) -> point; - pub fn GA_midpt(p1: point, p2: point) -> point; - pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; - pub fn GA_rmove(r: rect, p: point) -> rect; - pub fn GA_raddpt(r: rect, p: point) -> rect; - pub fn GA_rsubpt(r: rect, p: point) -> rect; - pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; - pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; - pub fn GA_rcenter(r1: rect, r2: rect) -> rect; - pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; - pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; - pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; - pub fn GA_clipr(r1: rect, r2: rect) -> rect; - pub fn GA_rcanon(r: rect) -> rect; - pub fn GA_setrgb(c: rgb); - #[doc = "Context functions for bitmaps, windows, controls."] - pub fn GA_addto(dest: control); - pub fn GA_drawto(dest: drawing); - pub fn GA_setlinewidth(width: ::std::os::raw::c_int); - #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] - pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); - #[doc = "Drawing functions."] - pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); - pub fn GA_scrollrect(dp: point, sr: rect); - pub fn GA_copyrect(src: drawing, dp: point, sr: rect); - pub fn GA_texturerect(src: drawing, r: rect); - pub fn GA_invertrect(r: rect); - pub fn GA_getpixel(p: point) -> rgb; - pub fn GA_setpixel(p: point, c: rgb); - #[doc = "Drawing using the current colour."] - pub fn GA_moveto(p: point); - pub fn GA_lineto(p: point); - pub fn GA_drawpoint(p: point); - pub fn GA_drawline(p1: point, p2: point); - pub fn GA_drawrect(r: rect); - pub fn GA_fillrect(r: rect); - pub fn GA_drawarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_fillarc( - r: rect, - start_angle: ::std::os::raw::c_int, - end_angle: ::std::os::raw::c_int, - ); - pub fn GA_drawellipse(r: rect); - pub fn GA_fillellipse(r: rect); - pub fn GA_drawroundrect(r: rect); - pub fn GA_fillroundrect(r: rect); - pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); - pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); - #[doc = "Drawing text, selecting fonts."] - pub fn GA_newfont( - name: *const ::std::os::raw::c_char, - style: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ) -> font; - pub fn GA_setfont(f: font); - pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; - pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; - pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; - pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; - pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_textheight( - width: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn GA_drawtext( - r: rect, - alignment: ::std::os::raw::c_int, - text: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; - #[doc = "Find the current state of drawing."] - pub fn GA_currentdrawing() -> drawing; - pub fn GA_currentrgb() -> rgb; - pub fn GA_currentmode() -> ::std::os::raw::c_int; - pub fn GA_currentpoint() -> point; - pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; - pub fn GA_currentfont() -> font; - pub fn GA_currentcursor() -> cursor; - #[doc = "Find current keyboard state."] - pub fn GA_getkeystate() -> ::std::os::raw::c_int; - #[doc = "Bitmaps."] - pub fn GA_newbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> bitmap; - pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; - pub fn GA_imagetobitmap(img: image) -> bitmap; - pub fn GA_createbitmap( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - data: *mut GAbyte, - ) -> bitmap; - pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); - pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); - #[doc = "Images."] - pub fn GA_newimage( - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - depth: ::std::os::raw::c_int, - ) -> image; - pub fn GA_copyimage(img: image) -> image; - pub fn GA_delimage(img: image); - pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; - pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; - pub fn GA_setpixels(img: image, pixels: *mut GAbyte); - pub fn GA_getpixels(img: image) -> *mut GAbyte; - pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); - pub fn GA_getpalette(img: image) -> *mut rgb; - pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; - pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; - pub fn GA_convert32to8(img: image) -> image; - pub fn GA_convert8to32(img: image) -> image; - pub fn GA_sortpalette(img: image); - pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; - pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); - pub fn GA_drawimage(img: image, dr: rect, sr: rect); - pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); - pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); - pub fn GA_drawdarker(img: image, dr: rect, sr: rect); - pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); - #[doc = "Windows."] - pub fn GA_newwindow( - name: *const ::std::os::raw::c_char, - r: rect, - flags: ::std::os::raw::c_long, - ) -> window; - pub fn GA_show(w: window); - pub fn GA_hide(w: window); - pub fn GA_GetCurrentWinPos(obj: window) -> rect; - #[doc = "Functions which work for bitmaps, windows and controls."] - pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objrect(obj: objptr) -> rect; - pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; - pub fn GA_delobj(obj: objptr); - #[doc = "Setting window and control callback functions."] - pub fn GA_setaction(c: control, fn_: actionfn); - pub fn GA_sethit(c: control, fn_: intfn); - pub fn GA_setdel(c: control, fn_: actionfn); - pub fn GA_setclose(c: control, fn_: actionfn); - pub fn GA_setredraw(c: control, fn_: drawfn); - pub fn GA_setresize(c: control, fn_: drawfn); - pub fn GA_setkeydown(c: control, fn_: keyfn); - pub fn GA_setkeyaction(c: control, fn_: keyfn); - pub fn GA_setmousedown(c: control, fn_: mousefn); - pub fn GA_setmousedrag(c: control, fn_: mousefn); - pub fn GA_setmouseup(c: control, fn_: mousefn); - pub fn GA_setmousemove(c: control, fn_: mousefn); - pub fn GA_setmouserepeat(c: control, fn_: mousefn); - pub fn GA_setdrop(c: control, fn_: dropfn); - pub fn GA_setonfocus(c: control, fn_: actionfn); - pub fn GA_setim(c: control, fn_: imfn); - #[doc = "Using windows and controls."] - pub fn GA_clear(c: control); - pub fn GA_draw(c: control); - pub fn GA_redraw(c: control); - pub fn GA_resize(c: control, r: rect); - pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; - pub fn GA_enable(c: control); - pub fn GA_disable(c: control); - pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; - pub fn GA_check(c: control); - pub fn GA_uncheck(c: control); - pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; - pub fn GA_highlight(c: control); - pub fn GA_unhighlight(c: control); - pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; - pub fn GA_flashcontrol(c: control); - pub fn GA_activatecontrol(c: control); - #[doc = "Changing the state of a control."] - pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); - pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; - pub fn GA_settextfont(c: control, f: font); - pub fn GA_gettextfont(c: control) -> font; - pub fn GA_setforeground(c: control, fg: rgb); - pub fn GA_getforeground(c: control) -> rgb; - pub fn GA_setbackground(c: control, bg: rgb); - pub fn GA_getbackground(c: control) -> rgb; - pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); - pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; - pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); - pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; - pub fn GA_parentwindow(c: control) -> window; - #[doc = "Create buttons, scrollbars, controls etc on the current window."] - pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; - pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; - pub fn GA_newpicture(img: image, r: rect) -> drawing; - pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; - pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; - pub fn GA_setimage(c: control, img: image); - pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; - pub fn GA_newradiobutton( - text: *const ::std::os::raw::c_char, - r: rect, - fn_: actionfn, - ) -> radiobutton; - pub fn GA_newradiogroup() -> radiogroup; - pub fn GA_newscrollbar( - r: rect, - max: ::std::os::raw::c_int, - pagesize: ::std::os::raw::c_int, - fn_: scrollfn, - ) -> scrollbar; - pub fn GA_changescrollbar( - s: scrollbar, - where_: ::std::os::raw::c_int, - max: ::std::os::raw::c_int, - size: ::std::os::raw::c_int, - ); - pub fn GA_newlabel( - text: *const ::std::os::raw::c_char, - r: rect, - alignment: ::std::os::raw::c_int, - ) -> label; - pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; - pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; - pub fn GA_newlistbox( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_newdroplist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newdropfield( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - ) -> listbox; - pub fn GA_newmultilist( - list: *mut *const ::std::os::raw::c_char, - r: rect, - fn_: scrollfn, - dble: actionfn, - ) -> listbox; - pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); - pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; - pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); - pub fn GA_newprogressbar( - r: rect, - pmin: ::std::os::raw::c_int, - pmax: ::std::os::raw::c_int, - incr: ::std::os::raw::c_int, - smooth: ::std::os::raw::c_int, - ) -> progressbar; - pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); - pub fn GA_setprogressbarrange( - obj: progressbar, - pbmin: ::std::os::raw::c_int, - pbmax: ::std::os::raw::c_int, - ); - pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; - pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; - pub fn GA_newmenuitem( - name: *const ::std::os::raw::c_char, - key: ::std::os::raw::c_int, - fn_: menufn, - ) -> menuitem; - #[doc = "Text editing functions."] - pub fn GA_undotext(t: textbox); - pub fn GA_cuttext(t: textbox); - pub fn GA_copytext(t: textbox); - pub fn GA_cleartext(t: textbox); - pub fn GA_pastetext(t: textbox); - pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); - pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); - pub fn GA_textselection( - t: textbox, - start: *mut ::std::os::raw::c_long, - end: *mut ::std::os::raw::c_long, - ); - pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); - pub fn GA_askok(info: *const ::std::os::raw::c_char); - pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; - pub fn GA_askstring( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askpassword( - question: *const ::std::os::raw::c_char, - default_string: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilename( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilenamewithdir( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - dir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askfilesave( - title: *const ::std::os::raw::c_char, - default_name: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn GA_clickbutton(w: window, b: button); - #[doc = "Time functions."] - pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); - pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; - pub fn GA_delay(millisec: ::std::os::raw::c_uint); - pub fn GA_currenttime() -> ::std::os::raw::c_long; - #[doc = "Cursors."] - pub fn GA_newcursor(hotspot: point, img: image) -> cursor; - pub fn GA_createcursor( - offset: point, - white_mask: *mut GAbyte, - black_shape: *mut GAbyte, - ) -> cursor; - pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; - pub fn GA_setcursor(c: cursor); - #[doc = "Change the drawing state."] - pub fn GA_copydrawstate() -> drawstate; - pub fn GA_setdrawstate(saved_state: drawstate); - pub fn GA_restoredrawstate(saved_state: drawstate); - pub fn GA_resetdrawstate(); - #[doc = "Caret-related functions."] - pub fn GA_setcaret( - c: control, - x: ::std::os::raw::c_int, - y: ::std::os::raw::c_int, - width: ::std::os::raw::c_int, - height: ::std::os::raw::c_int, - ); - pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); - #[doc = "fixed-width font"] - pub static mut GA_FixedFont: font; - #[doc = "normal arrow cursor"] - pub static mut GA_ArrowCursor: cursor; - #[doc = "invisible cursor"] - pub static mut GA_BlankCursor: cursor; - #[doc = "wait for the computer"] - pub static mut GA_WatchCursor: cursor; - #[doc = "insert text"] - pub static mut GA_CaretCursor: cursor; - #[doc = "insert text"] - pub static mut GA_TextCursor: cursor; - #[doc = "hand pointer"] - pub static mut GA_HandCursor: cursor; - #[doc = "cross pointer"] - pub static mut GA_CrossCursor: cursor; - #[doc = "system font"] - pub static mut GA_SystemFont: font; - #[doc = "times roman font (serif)"] - pub static mut GA_Times: font; - #[doc = "helvetica font (sans serif)"] - pub static mut GA_Helvetica: font; - #[doc = "courier font (fixed width)"] - pub static mut GA_Courier: font; -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _GRAPHAPP_H: u32 = 240; +pub const Pi: f64 = 3.14159265359; +pub const NoButton: u32 = 0; +pub const LeftButton: u32 = 1; +pub const MiddleButton: u32 = 2; +pub const RightButton: u32 = 4; +pub const BELL: u32 = 7; +pub const BKSP: u32 = 8; +pub const VTAB: u32 = 11; +pub const FF: u32 = 12; +pub const ESC: u32 = 27; +pub const INS: u32 = 8257; +pub const DEL: u32 = 8998; +pub const HOME: u32 = 8632; +pub const END: u32 = 8600; +pub const PGUP: u32 = 8670; +pub const PGDN: u32 = 8671; +pub const ENTER: u32 = 8996; +pub const LEFT: u32 = 8592; +pub const UP: u32 = 8593; +pub const RIGHT: u32 = 8594; +pub const DOWN: u32 = 8595; +pub const F1: u32 = 10092; +pub const F2: u32 = 10093; +pub const F3: u32 = 10094; +pub const F4: u32 = 10095; +pub const F5: u32 = 10096; +pub const F6: u32 = 10097; +pub const F7: u32 = 10098; +pub const F8: u32 = 10099; +pub const F9: u32 = 10100; +pub const F10: u32 = 10101; +pub const gaRed: u32 = 16711680; +pub const gaGreen: u32 = 65280; +pub const gaBlue: u32 = 255; +pub const Transparent: u32 = 4294967295; +pub const Black: u32 = 0; +pub const White: u32 = 16777215; +pub const Yellow: u32 = 16776960; +pub const Magenta: u32 = 16711935; +pub const Cyan: u32 = 65535; +pub const Grey: u32 = 8421504; +pub const Gray: u32 = 8421504; +pub const LightGrey: u32 = 12632256; +pub const LightGray: u32 = 12632256; +pub const DarkGrey: u32 = 4210752; +pub const DarkGray: u32 = 4210752; +pub const DarkBlue: u32 = 128; +pub const DarkGreen: u32 = 32768; +pub const DarkRed: u32 = 9109504; +pub const LightBlue: u32 = 8438015; +pub const LightGreen: u32 = 8454016; +pub const LightRed: u32 = 16761087; +pub const Pink: u32 = 16756655; +pub const Brown: u32 = 6303744; +pub const Orange: u32 = 16744448; +pub const Purple: u32 = 12583167; +pub const Lime: u32 = 8453888; +pub const Zeros: u32 = 0; +pub const DnorS: u32 = 1; +pub const DandnotS: u32 = 2; +pub const notS: u32 = 3; +pub const notDandS: u32 = 4; +pub const notD: u32 = 5; +pub const DxorS: u32 = 6; +pub const DnandS: u32 = 7; +pub const DandS: u32 = 8; +pub const DxnorS: u32 = 9; +pub const GA_D: u32 = 10; +pub const DornotS: u32 = 11; +pub const GA_S: u32 = 12; +pub const notDorS: u32 = 13; +pub const DorS: u32 = 14; +pub const Ones: u32 = 15; +pub const Plain: u32 = 0; +pub const Bold: u32 = 1; +pub const Italic: u32 = 2; +pub const BoldItalic: u32 = 3; +pub const SansSerif: u32 = 4; +pub const FixedWidth: u32 = 8; +pub const Wide: u32 = 16; +pub const Narrow: u32 = 32; +pub const AlignTop: u32 = 0; +pub const AlignBottom: u32 = 256; +pub const VJustify: u32 = 512; +pub const VCenter: u32 = 1024; +pub const VCentre: u32 = 1024; +pub const AlignLeft: u32 = 0; +pub const AlignRight: u32 = 4096; +pub const Justify: u32 = 8192; +pub const Center: u32 = 16384; +pub const Centre: u32 = 16384; +pub const AlignCenter: u32 = 16384; +pub const AlignCentre: u32 = 16384; +pub const Underline: u32 = 2048; +pub const AltKey: u32 = 1; +pub const CmdKey: u32 = 1; +pub const CtrlKey: u32 = 2; +pub const OptionKey: u32 = 2; +pub const ShiftKey: u32 = 4; +pub const SimpleWindow: u32 = 0; +pub const Menubar: u32 = 16; +pub const Titlebar: u32 = 32; +pub const Closebox: u32 = 64; +pub const Resize: u32 = 128; +pub const Maximize: u32 = 256; +pub const Minimize: u32 = 512; +pub const HScrollbar: u32 = 1024; +pub const VScrollbar: u32 = 2048; +pub const CanvasSize: u32 = 4194304; +pub const Modal: u32 = 4096; +pub const Floating: u32 = 8192; +pub const Centered: u32 = 16384; +pub const Centred: u32 = 16384; +pub const Workspace: u32 = 65536; +pub const Document: u32 = 131072; +pub const ChildWindow: u32 = 262144; +pub const TrackMouse: u32 = 524288; +pub const UsePalette: u32 = 1048576; +pub const UseUnicode: u32 = 2097152; +pub const SetUpCaret: u32 = 4194304; +pub const StandardWindow: u32 = 992; +pub const GA_Visible: u32 = 1; +pub const GA_Enabled: u32 = 2; +pub const GA_Checked: u32 = 4; +pub const GA_Highlighted: u32 = 8; +pub const GA_Armed: u32 = 16; +pub const GA_Focus: u32 = 32; +pub const YES: u32 = 1; +pub const NO: i32 = -1; +pub const CANCEL: u32 = 0; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[doc = "Types."] +pub type GAbyte = ::std::os::raw::c_uchar; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct objinfo { + _unused: [u8; 0], +} +pub type objptr = *mut objinfo; +#[doc = "end of R modification"] +pub type rgb = ::std::os::raw::c_ulong; +pub type font = objptr; +pub type cursor = objptr; +pub type drawing = objptr; +pub type bitmap = drawing; +pub type window = drawing; +pub type control = drawing; +pub type label = control; +pub type button = control; +pub type checkbox = control; +pub type radiobutton = control; +pub type radiogroup = control; +pub type field = control; +pub type textbox = control; +pub type scrollbar = control; +pub type listbox = control; +pub type progressbar = control; +pub type menubar = control; +pub type menu = control; +pub type menuitem = control; +pub type drawstate = *mut drawstruct; +pub type image = *mut imagedata; +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct point { + pub x: ::std::os::raw::c_int, + pub y: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct rect { + #[doc = "top-left point inside rect"] + pub x: ::std::os::raw::c_int, + #[doc = "top-left point inside rect"] + pub y: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub width: ::std::os::raw::c_int, + #[doc = "width and height of rect"] + pub height: ::std::os::raw::c_int, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct drawstruct { + pub dest: drawing, + pub hue: rgb, + pub mode: ::std::os::raw::c_int, + pub p: point, + pub linewidth: ::std::os::raw::c_int, + pub fnt: font, + pub crsr: cursor, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct imagedata { + pub depth: ::std::os::raw::c_int, + pub width: ::std::os::raw::c_int, + pub height: ::std::os::raw::c_int, + pub cmapsize: ::std::os::raw::c_int, + pub cmap: *mut rgb, + pub pixels: *mut GAbyte, +} +#[doc = "Call-backs."] +pub type voidfn = ::std::option::Option; +pub type timerfn = ::std::option::Option; +pub type actionfn = ::std::option::Option; +pub type drawfn = ::std::option::Option; +pub type mousefn = ::std::option::Option< + unsafe extern "C" fn(c: control, buttons: ::std::os::raw::c_int, xy: point), +>; +pub type intfn = + ::std::option::Option; +pub type keyfn = + ::std::option::Option; +pub type menufn = ::std::option::Option; +pub type scrollfn = + ::std::option::Option; +pub type dropfn = + ::std::option::Option; +pub type imfn = + ::std::option::Option; +extern "C" { + #[doc = "General functions."] + pub fn GA_initapp( + argc: ::std::os::raw::c_int, + argv: *mut *mut ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_exitapp(); + pub fn GA_drawall(); + pub fn GA_peekevent() -> ::std::os::raw::c_int; + pub fn GA_waitevent(); + pub fn GA_doevent() -> ::std::os::raw::c_int; + pub fn mainloop(); + pub fn GA_execapp(cmd: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; + #[doc = "Point and rectangle arithmetic."] + pub fn GA_newpoint(x: ::std::os::raw::c_int, y: ::std::os::raw::c_int) -> point; + pub fn GA_newrect( + left: ::std::os::raw::c_int, + top: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ) -> rect; + pub fn GA_rpt(min: point, max: point) -> rect; + pub fn GA_topleft(r: rect) -> point; + pub fn GA_bottomright(r: rect) -> point; + pub fn GA_topright(r: rect) -> point; + pub fn GA_bottomleft(r: rect) -> point; + pub fn GA_addpt(p1: point, p2: point) -> point; + pub fn GA_subpt(p1: point, p2: point) -> point; + pub fn GA_midpt(p1: point, p2: point) -> point; + pub fn GA_mulpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_divpt(p1: point, i: ::std::os::raw::c_int) -> point; + pub fn GA_rmove(r: rect, p: point) -> rect; + pub fn GA_raddpt(r: rect, p: point) -> rect; + pub fn GA_rsubpt(r: rect, p: point) -> rect; + pub fn GA_rmul(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rdiv(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_growr(r: rect, w: ::std::os::raw::c_int, h: ::std::os::raw::c_int) -> rect; + pub fn GA_insetr(r: rect, i: ::std::os::raw::c_int) -> rect; + pub fn GA_rcenter(r1: rect, r2: rect) -> rect; + pub fn GA_ptinr(p: point, r: rect) -> ::std::os::raw::c_int; + pub fn GA_rinr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_rxr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_equalpt(p1: point, p2: point) -> ::std::os::raw::c_int; + pub fn GA_equalr(r1: rect, r2: rect) -> ::std::os::raw::c_int; + pub fn GA_clipr(r1: rect, r2: rect) -> rect; + pub fn GA_rcanon(r: rect) -> rect; + pub fn GA_setrgb(c: rgb); + #[doc = "Context functions for bitmaps, windows, controls."] + pub fn GA_addto(dest: control); + pub fn GA_drawto(dest: drawing); + pub fn GA_setlinewidth(width: ::std::os::raw::c_int); + #[doc = "Transfer modes for drawing operations, S=source, D=destination.\n The modes are arranged so that, for example, (~D)|S == notDorS."] + pub fn GA_setdrawmode(mode: ::std::os::raw::c_int); + #[doc = "Drawing functions."] + pub fn GA_bitblt(dest: drawing, src: drawing, dp: point, sr: rect, mode: ::std::os::raw::c_int); + pub fn GA_scrollrect(dp: point, sr: rect); + pub fn GA_copyrect(src: drawing, dp: point, sr: rect); + pub fn GA_texturerect(src: drawing, r: rect); + pub fn GA_invertrect(r: rect); + pub fn GA_getpixel(p: point) -> rgb; + pub fn GA_setpixel(p: point, c: rgb); + #[doc = "Drawing using the current colour."] + pub fn GA_moveto(p: point); + pub fn GA_lineto(p: point); + pub fn GA_drawpoint(p: point); + pub fn GA_drawline(p1: point, p2: point); + pub fn GA_drawrect(r: rect); + pub fn GA_fillrect(r: rect); + pub fn GA_drawarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_fillarc( + r: rect, + start_angle: ::std::os::raw::c_int, + end_angle: ::std::os::raw::c_int, + ); + pub fn GA_drawellipse(r: rect); + pub fn GA_fillellipse(r: rect); + pub fn GA_drawroundrect(r: rect); + pub fn GA_fillroundrect(r: rect); + pub fn GA_drawpolygon(p: *mut point, n: ::std::os::raw::c_int); + pub fn GA_fillpolygon(p: *mut point, n: ::std::os::raw::c_int); + #[doc = "Drawing text, selecting fonts."] + pub fn GA_newfont( + name: *const ::std::os::raw::c_char, + style: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ) -> font; + pub fn GA_setfont(f: font); + pub fn GA_fontwidth(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontheight(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontascent(f: font) -> ::std::os::raw::c_int; + pub fn GA_fontdescent(f: font) -> ::std::os::raw::c_int; + pub fn GA_strwidth(f: font, s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_strsize(f: font, s: *const ::std::os::raw::c_char) -> point; + pub fn GA_strrect(f: font, s: *const ::std::os::raw::c_char) -> rect; + pub fn GA_drawstr(p: point, str_: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_textheight( + width: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> ::std::os::raw::c_int; + pub fn GA_drawtext( + r: rect, + alignment: ::std::os::raw::c_int, + text: *const ::std::os::raw::c_char, + ) -> *const ::std::os::raw::c_char; + pub fn GA_gprintf(fmt: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; + #[doc = "Find the current state of drawing."] + pub fn GA_currentdrawing() -> drawing; + pub fn GA_currentrgb() -> rgb; + pub fn GA_currentmode() -> ::std::os::raw::c_int; + pub fn GA_currentpoint() -> point; + pub fn GA_currentlinewidth() -> ::std::os::raw::c_int; + pub fn GA_currentfont() -> font; + pub fn GA_currentcursor() -> cursor; + #[doc = "Find current keyboard state."] + pub fn GA_getkeystate() -> ::std::os::raw::c_int; + #[doc = "Bitmaps."] + pub fn GA_newbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> bitmap; + pub fn GA_loadbitmap(name: *const ::std::os::raw::c_char) -> bitmap; + pub fn GA_imagetobitmap(img: image) -> bitmap; + pub fn GA_createbitmap( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + data: *mut GAbyte, + ) -> bitmap; + pub fn GA_setbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata(b: bitmap, data: *mut GAbyte); + pub fn GA_getbitmapdata2(b: bitmap, data: *mut *mut GAbyte); + #[doc = "Images."] + pub fn GA_newimage( + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + depth: ::std::os::raw::c_int, + ) -> image; + pub fn GA_copyimage(img: image) -> image; + pub fn GA_delimage(img: image); + pub fn GA_imagedepth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imagewidth(img: image) -> ::std::os::raw::c_int; + pub fn GA_imageheight(img: image) -> ::std::os::raw::c_int; + pub fn GA_setpixels(img: image, pixels: *mut GAbyte); + pub fn GA_getpixels(img: image) -> *mut GAbyte; + pub fn GA_setpalette(img: image, length: ::std::os::raw::c_int, cmap: *mut rgb); + pub fn GA_getpalette(img: image) -> *mut rgb; + pub fn GA_getpalettesize(img: image) -> ::std::os::raw::c_int; + pub fn GA_scaleimage(src: image, dr: rect, sr: rect) -> image; + pub fn GA_convert32to8(img: image) -> image; + pub fn GA_convert8to32(img: image) -> image; + pub fn GA_sortpalette(img: image); + pub fn GA_loadimage(filename: *const ::std::os::raw::c_char) -> image; + pub fn GA_saveimage(img: image, filename: *const ::std::os::raw::c_char); + pub fn GA_drawimage(img: image, dr: rect, sr: rect); + pub fn GA_drawmonochrome(img: image, dr: rect, sr: rect); + pub fn GA_drawgreyscale(img: image, dr: rect, sr: rect); + pub fn GA_drawdarker(img: image, dr: rect, sr: rect); + pub fn GA_drawbrighter(img: image, dr: rect, sr: rect); + #[doc = "Windows."] + pub fn GA_newwindow( + name: *const ::std::os::raw::c_char, + r: rect, + flags: ::std::os::raw::c_long, + ) -> window; + pub fn GA_show(w: window); + pub fn GA_hide(w: window); + pub fn GA_GetCurrentWinPos(obj: window) -> rect; + #[doc = "Functions which work for bitmaps, windows and controls."] + pub fn GA_objdepth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objrect(obj: objptr) -> rect; + pub fn GA_objwidth(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_objheight(obj: objptr) -> ::std::os::raw::c_int; + pub fn GA_delobj(obj: objptr); + #[doc = "Setting window and control callback functions."] + pub fn GA_setaction(c: control, fn_: actionfn); + pub fn GA_sethit(c: control, fn_: intfn); + pub fn GA_setdel(c: control, fn_: actionfn); + pub fn GA_setclose(c: control, fn_: actionfn); + pub fn GA_setredraw(c: control, fn_: drawfn); + pub fn GA_setresize(c: control, fn_: drawfn); + pub fn GA_setkeydown(c: control, fn_: keyfn); + pub fn GA_setkeyaction(c: control, fn_: keyfn); + pub fn GA_setmousedown(c: control, fn_: mousefn); + pub fn GA_setmousedrag(c: control, fn_: mousefn); + pub fn GA_setmouseup(c: control, fn_: mousefn); + pub fn GA_setmousemove(c: control, fn_: mousefn); + pub fn GA_setmouserepeat(c: control, fn_: mousefn); + pub fn GA_setdrop(c: control, fn_: dropfn); + pub fn GA_setonfocus(c: control, fn_: actionfn); + pub fn GA_setim(c: control, fn_: imfn); + #[doc = "Using windows and controls."] + pub fn GA_clear(c: control); + pub fn GA_draw(c: control); + pub fn GA_redraw(c: control); + pub fn GA_resize(c: control, r: rect); + pub fn GA_isvisible(c: control) -> ::std::os::raw::c_int; + pub fn GA_enable(c: control); + pub fn GA_disable(c: control); + pub fn GA_isenabled(c: control) -> ::std::os::raw::c_int; + pub fn GA_check(c: control); + pub fn GA_uncheck(c: control); + pub fn GA_ischecked(c: control) -> ::std::os::raw::c_int; + pub fn GA_highlight(c: control); + pub fn GA_unhighlight(c: control); + pub fn GA_ishighlighted(c: control) -> ::std::os::raw::c_int; + pub fn GA_flashcontrol(c: control); + pub fn GA_activatecontrol(c: control); + #[doc = "Changing the state of a control."] + pub fn GA_settext(c: control, newtext: *const ::std::os::raw::c_char); + pub fn GA_gettext(c: control) -> *mut ::std::os::raw::c_char; + pub fn GA_settextfont(c: control, f: font); + pub fn GA_gettextfont(c: control) -> font; + pub fn GA_setforeground(c: control, fg: rgb); + pub fn GA_getforeground(c: control) -> rgb; + pub fn GA_setbackground(c: control, bg: rgb); + pub fn GA_getbackground(c: control) -> rgb; + pub fn GA_setvalue(c: control, value: ::std::os::raw::c_int); + pub fn GA_getvalue(c: control) -> ::std::os::raw::c_int; + pub fn GA_setdata(c: control, data: *mut ::std::os::raw::c_void); + pub fn GA_getdata(c: control) -> *mut ::std::os::raw::c_void; + pub fn GA_parentwindow(c: control) -> window; + #[doc = "Create buttons, scrollbars, controls etc on the current window."] + pub fn GA_newcontrol(text: *const ::std::os::raw::c_char, r: rect) -> control; + pub fn GA_newdrawing(r: rect, fn_: drawfn) -> drawing; + pub fn GA_newpicture(img: image, r: rect) -> drawing; + pub fn GA_newbutton(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> button; + pub fn GA_newimagebutton(img: image, r: rect, fn_: actionfn) -> button; + pub fn GA_setimage(c: control, img: image); + pub fn GA_newcheckbox(text: *const ::std::os::raw::c_char, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newimagecheckbox(img: image, r: rect, fn_: actionfn) -> checkbox; + pub fn GA_newradiobutton( + text: *const ::std::os::raw::c_char, + r: rect, + fn_: actionfn, + ) -> radiobutton; + pub fn GA_newradiogroup() -> radiogroup; + pub fn GA_newscrollbar( + r: rect, + max: ::std::os::raw::c_int, + pagesize: ::std::os::raw::c_int, + fn_: scrollfn, + ) -> scrollbar; + pub fn GA_changescrollbar( + s: scrollbar, + where_: ::std::os::raw::c_int, + max: ::std::os::raw::c_int, + size: ::std::os::raw::c_int, + ); + pub fn GA_newlabel( + text: *const ::std::os::raw::c_char, + r: rect, + alignment: ::std::os::raw::c_int, + ) -> label; + pub fn GA_newfield(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newpassword(text: *const ::std::os::raw::c_char, r: rect) -> field; + pub fn GA_newtextbox(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newrichtextarea(text: *const ::std::os::raw::c_char, r: rect) -> textbox; + pub fn GA_newlistbox( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_newdroplist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newdropfield( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + ) -> listbox; + pub fn GA_newmultilist( + list: *mut *const ::std::os::raw::c_char, + r: rect, + fn_: scrollfn, + dble: actionfn, + ) -> listbox; + pub fn GA_isselected(b: listbox, index: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn GA_setlistitem(b: listbox, index: ::std::os::raw::c_int); + pub fn GA_getlistitem(b: listbox) -> ::std::os::raw::c_int; + pub fn GA_changelistbox(b: listbox, new_list: *mut *const ::std::os::raw::c_char); + pub fn GA_newprogressbar( + r: rect, + pmin: ::std::os::raw::c_int, + pmax: ::std::os::raw::c_int, + incr: ::std::os::raw::c_int, + smooth: ::std::os::raw::c_int, + ) -> progressbar; + pub fn GA_setprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_stepprogressbar(obj: progressbar, n: ::std::os::raw::c_int); + pub fn GA_setprogressbarrange( + obj: progressbar, + pbmin: ::std::os::raw::c_int, + pbmax: ::std::os::raw::c_int, + ); + pub fn GA_newmenubar(adjust_menus: actionfn) -> menubar; + pub fn GA_newsubmenu(parent: menu, name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenu(name: *const ::std::os::raw::c_char) -> menu; + pub fn GA_newmenuitem( + name: *const ::std::os::raw::c_char, + key: ::std::os::raw::c_int, + fn_: menufn, + ) -> menuitem; + #[doc = "Text editing functions."] + pub fn GA_undotext(t: textbox); + pub fn GA_cuttext(t: textbox); + pub fn GA_copytext(t: textbox); + pub fn GA_cleartext(t: textbox); + pub fn GA_pastetext(t: textbox); + pub fn GA_inserttext(t: textbox, text: *const ::std::os::raw::c_char); + pub fn GA_selecttext(t: textbox, start: ::std::os::raw::c_long, end: ::std::os::raw::c_long); + pub fn GA_textselection( + t: textbox, + start: *mut ::std::os::raw::c_long, + end: *mut ::std::os::raw::c_long, + ); + pub fn GA_apperror(errstr: *const ::std::os::raw::c_char); + pub fn GA_askok(info: *const ::std::os::raw::c_char); + pub fn GA_askokcancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesno(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askyesnocancel(question: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; + pub fn GA_askstring( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askpassword( + question: *const ::std::os::raw::c_char, + default_string: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilename( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilenamewithdir( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + dir: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askfilesave( + title: *const ::std::os::raw::c_char, + default_name: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn GA_askUserPass(title: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn GA_clickbutton(w: window, b: button); + #[doc = "Time functions."] + pub fn GA_settimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_settimerfn(timeout: timerfn, data: *mut ::std::os::raw::c_void); + pub fn GA_setmousetimer(millisec: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; + pub fn GA_delay(millisec: ::std::os::raw::c_uint); + pub fn GA_currenttime() -> ::std::os::raw::c_long; + #[doc = "Cursors."] + pub fn GA_newcursor(hotspot: point, img: image) -> cursor; + pub fn GA_createcursor( + offset: point, + white_mask: *mut GAbyte, + black_shape: *mut GAbyte, + ) -> cursor; + pub fn GA_loadcursor(name: *const ::std::os::raw::c_char) -> cursor; + pub fn GA_setcursor(c: cursor); + #[doc = "Change the drawing state."] + pub fn GA_copydrawstate() -> drawstate; + pub fn GA_setdrawstate(saved_state: drawstate); + pub fn GA_restoredrawstate(saved_state: drawstate); + pub fn GA_resetdrawstate(); + #[doc = "Caret-related functions."] + pub fn GA_setcaret( + c: control, + x: ::std::os::raw::c_int, + y: ::std::os::raw::c_int, + width: ::std::os::raw::c_int, + height: ::std::os::raw::c_int, + ); + pub fn GA_showcaret(c: control, showing: ::std::os::raw::c_int); + #[doc = "fixed-width font"] + pub static mut GA_FixedFont: font; + #[doc = "normal arrow cursor"] + pub static mut GA_ArrowCursor: cursor; + #[doc = "invisible cursor"] + pub static mut GA_BlankCursor: cursor; + #[doc = "wait for the computer"] + pub static mut GA_WatchCursor: cursor; + #[doc = "insert text"] + pub static mut GA_CaretCursor: cursor; + #[doc = "insert text"] + pub static mut GA_TextCursor: cursor; + #[doc = "hand pointer"] + pub static mut GA_HandCursor: cursor; + #[doc = "cross pointer"] + pub static mut GA_CrossCursor: cursor; + #[doc = "system font"] + pub static mut GA_SystemFont: font; + #[doc = "times roman font (serif)"] + pub static mut GA_Times: font; + #[doc = "helvetica font (sans serif)"] + pub static mut GA_Helvetica: font; + #[doc = "courier font (fixed width)"] + pub static mut GA_Courier: font; +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.2.rs b/bindings/bindings-iconv-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..c6769c3f --- /dev/null +++ b/bindings/bindings-iconv-windows-x86_64-R4.2.rs @@ -0,0 +1,33 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.3.rs b/bindings/bindings-iconv-windows-x86_64-R4.3.rs index 383d4144..6812df3a 100644 --- a/bindings/bindings-iconv-windows-x86_64-R4.3.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.3.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.4.rs b/bindings/bindings-iconv-windows-x86_64-R4.4.rs index 7f19876d..dac27271 100644 --- a/bindings/bindings-iconv-windows-x86_64-R4.4.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.4.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs index 10035d4c..1de3814d 100644 --- a/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-iconv-windows-x86_64-R4.5-devel.rs @@ -1,33 +1,33 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type libiconv_t = *mut ::std::os::raw::c_void; -extern "C" { - pub fn libiconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> libiconv_t; - pub fn libiconv( - cd: libiconv_t, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; - pub fn libiconvlist( - do_one: ::std::option::Option< - unsafe extern "C" fn( - namescount: ::std::os::raw::c_uint, - names: *const *const ::std::os::raw::c_char, - data: *mut ::std::os::raw::c_void, - ) -> ::std::os::raw::c_int, - >, - daXta: *mut ::std::os::raw::c_void, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +pub type libiconv_t = *mut ::std::os::raw::c_void; +extern "C" { + pub fn libiconv_open( + tocode: *const ::std::os::raw::c_char, + fromcode: *const ::std::os::raw::c_char, + ) -> libiconv_t; + pub fn libiconv( + cd: libiconv_t, + inbuf: *mut *const ::std::os::raw::c_char, + inbytesleft: *mut usize, + outbuf: *mut *mut ::std::os::raw::c_char, + outbytesleft: *mut usize, + ) -> usize; + pub fn libiconv_close(cd: libiconv_t) -> ::std::os::raw::c_int; + pub fn libiconvlist( + do_one: ::std::option::Option< + unsafe extern "C" fn( + namescount: ::std::os::raw::c_uint, + names: *const *const ::std::os::raw::c_char, + data: *mut ::std::os::raw::c_void, + ) -> ::std::os::raw::c_int, + >, + daXta: *mut ::std::os::raw::c_void, + ); +} diff --git a/bindings/bindings-libextern-linux-aarch64-R4.2.rs b/bindings/bindings-libextern-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-libextern-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-linux-x86_64-R4.2.rs b/bindings/bindings-libextern-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-libextern-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-aarch64-R4.2.rs b/bindings/bindings-libextern-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-libextern-macos-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-macos-x86_64-R4.2.rs b/bindings/bindings-libextern-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..fd69eac8 --- /dev/null +++ b/bindings/bindings-libextern-macos-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.2.rs b/bindings/bindings-libextern-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..cd8c4fe0 --- /dev/null +++ b/bindings/bindings-libextern-windows-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.3.rs b/bindings/bindings-libextern-windows-x86_64-R4.3.rs index 9ee8c9e5..ddd2233f 100644 --- a/bindings/bindings-libextern-windows-x86_64-R4.3.rs +++ b/bindings/bindings-libextern-windows-x86_64-R4.3.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/bindings/bindings-libextern-windows-x86_64-R4.4.rs index 6c794eca..169a1c83 100644 --- a/bindings/bindings-libextern-windows-x86_64-R4.4.rs +++ b/bindings/bindings-libextern-windows-x86_64-R4.4.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs index 1c81de0f..b2b22575 100644 --- a/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-libextern-windows-x86_64-R4.5-devel.rs @@ -1,8 +1,8 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-libintl-macos-aarch64-R4.2.rs b/bindings/bindings-libintl-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..44f21adb --- /dev/null +++ b/bindings/bindings-libintl-macos-aarch64-R4.2.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-macos-x86_64-R4.2.rs b/bindings/bindings-libintl-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..44f21adb --- /dev/null +++ b/bindings/bindings-libintl-macos-x86_64-R4.2.rs @@ -0,0 +1,57 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.2.rs b/bindings/bindings-libintl-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2d9ff53d --- /dev/null +++ b/bindings/bindings-libintl-windows-x86_64-R4.2.rs @@ -0,0 +1,58 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.3.rs b/bindings/bindings-libintl-windows-x86_64-R4.3.rs index aa72f136..9229cd48 100644 --- a/bindings/bindings-libintl-windows-x86_64-R4.3.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.3.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.4.rs b/bindings/bindings-libintl-windows-x86_64-R4.4.rs index 059158e5..2fb41fca 100644 --- a/bindings/bindings-libintl-windows-x86_64-R4.4.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.4.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs index d4078172..26b15369 100644 --- a/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-libintl-windows-x86_64-R4.5-devel.rs @@ -1,58 +1,58 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -pub const _LIBINTL_H: u32 = 1; -pub const LC_MESSAGES: u32 = 1729; -pub const __USE_GNU_GETTEXT: u32 = 1; -pub const LIBINTL_VERSION: u32 = 4352; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut libintl_version: ::std::os::raw::c_int; - pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; - pub fn libintl_dgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcgettext( - __domainname: *const ::std::os::raw::c_char, - __msgid: *const ::std::os::raw::c_char, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_ngettext( - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_dcngettext( - __domainname: *const ::std::os::raw::c_char, - __msgid1: *const ::std::os::raw::c_char, - __msgid2: *const ::std::os::raw::c_char, - __n: ::std::os::raw::c_ulong, - __category: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_textdomain( - __domainname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bindtextdomain( - __domainname: *const ::std::os::raw::c_char, - __dirname: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_bind_textdomain_codeset( - __domainname: *const ::std::os::raw::c_char, - __codeset: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn libintl_set_relocation_prefix( - orig_prefix: *const ::std::os::raw::c_char, - curr_prefix: *const ::std::os::raw::c_char, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +pub const _LIBINTL_H: u32 = 1; +pub const LC_MESSAGES: u32 = 1729; +pub const __USE_GNU_GETTEXT: u32 = 1; +pub const LIBINTL_VERSION: u32 = 4352; +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub static mut libintl_version: ::std::os::raw::c_int; + pub fn libintl_gettext(__msgid: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn libintl_dgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcgettext( + __domainname: *const ::std::os::raw::c_char, + __msgid: *const ::std::os::raw::c_char, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_ngettext( + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_dcngettext( + __domainname: *const ::std::os::raw::c_char, + __msgid1: *const ::std::os::raw::c_char, + __msgid2: *const ::std::os::raw::c_char, + __n: ::std::os::raw::c_ulong, + __category: ::std::os::raw::c_int, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_textdomain( + __domainname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bindtextdomain( + __domainname: *const ::std::os::raw::c_char, + __dirname: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_bind_textdomain_codeset( + __domainname: *const ::std::os::raw::c_char, + __codeset: *const ::std::os::raw::c_char, + ) -> *mut ::std::os::raw::c_char; + pub fn libintl_set_relocation_prefix( + orig_prefix: *const ::std::os::raw::c_char, + curr_prefix: *const ::std::os::raw::c_char, + ); +} diff --git a/bindings/bindings-stats_package-linux-aarch64-R4.2.rs b/bindings/bindings-stats_package-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..2d152835 --- /dev/null +++ b/bindings/bindings-stats_package-linux-aarch64-R4.2.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-linux-x86_64-R4.2.rs b/bindings/bindings-stats_package-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..2d152835 --- /dev/null +++ b/bindings/bindings-stats_package-linux-x86_64-R4.2.rs @@ -0,0 +1,71 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} diff --git a/bindings/bindings-stats_package-macos-aarch64-R4.2.rs b/bindings/bindings-stats_package-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..02759c41 --- /dev/null +++ b/bindings/bindings-stats_package-macos-aarch64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-macos-x86_64-R4.2.rs b/bindings/bindings-stats_package-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..02759c41 --- /dev/null +++ b/bindings/bindings-stats_package-macos-x86_64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.2.rs b/bindings/bindings-stats_package-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..5425e4ec --- /dev/null +++ b/bindings/bindings-stats_package-windows-x86_64-R4.2.rs @@ -0,0 +1,118 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.3.rs b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs index 7386b31c..e828f559 100644 --- a/bindings/bindings-stats_package-windows-x86_64-R4.3.rs +++ b/bindings/bindings-stats_package-windows-x86_64-R4.3.rs @@ -1,118 +1,118 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs index 10d76b2a..9337baa9 100644 --- a/bindings/bindings-stats_package-windows-x86_64-R4.4.rs +++ b/bindings/bindings-stats_package-windows-x86_64-R4.4.rs @@ -1,118 +1,118 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs index ef85dbaa..d5be2b1b 100644 --- a/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-stats_package-windows-x86_64-R4.5-devel.rs @@ -1,118 +1,118 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum AlgType { + NREG = 1, + OPT = 2, +} +#[repr(u32)] +#[doc = "0-based indices into v"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum VPos { + F = 9, + F0 = 12, + FDIF = 10, + G = 27, + HC = 70, +} +impl IVPos { + pub const INITS: IVPos = IVPos::INITH; +} +#[repr(u32)] +#[doc = "0-based indices into iv"] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum IVPos { + AI = 90, + AM = 94, + ALGSAV = 50, + COVMAT = 25, + COVPRT = 13, + COVREQ = 14, + DRADPR = 100, + DTYPE = 15, + IERR = 74, + INITH = 24, + IPIVOT = 75, + IVNEED = 2, + LASTIV = 42, + LASTV = 44, + LMAT = 41, + MXFCAL = 16, + MXITER = 17, + NEXTV = 46, + NFCALL = 5, + NFCOV = 51, + NFGCAL = 6, + NGCOV = 52, + NITER = 30, + NVDFLT = 49, + NVSAVE = 8, + OUTLEV = 18, + PARPRT = 19, + PARSAV = 48, + PERM = 57, + PRUNIT = 20, + QRTYP = 79, + RDREQ = 56, + RMAT = 77, + SOLPRT = 21, + STATPR = 22, + TOOBIG = 1, + VNEED = 3, + VSAVE = 59, + X0PRT = 23, +} +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs b/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-aarch64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs new file mode 100644 index 00000000..268499b3 --- /dev/null +++ b/bindings/bindings-stats_stubs-linux-x86_64-R4.2.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Ubuntu clang version 15.0.7 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; diff --git a/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs b/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs new file mode 100644 index 00000000..72639fc9 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-aarch64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs new file mode 100644 index 00000000..72639fc9 --- /dev/null +++ b/bindings/bindings-stats_stubs-macos-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: Homebrew clang version 18.1.8 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs new file mode 100644 index 00000000..2300cef9 --- /dev/null +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.2.rs @@ -0,0 +1,55 @@ +/* automatically generated by rust-bindgen 0.69.4 */ + +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.2.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs index 0ebc993f..5bc8c7cc 100644 --- a/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.3.rs @@ -1,55 +1,55 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.3.3 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.3.3 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs index 12ed1989..44244a03 100644 --- a/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs @@ -1,55 +1,55 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.4.1 */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} diff --git a/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs index ff2ed929..457ca57d 100644 --- a/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-stats_stubs-windows-x86_64-R4.5-devel.rs @@ -1,55 +1,55 @@ -/* automatically generated by rust-bindgen 0.69.4 */ +/* automatically generated by rust-bindgen 0.69.4 */ -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.5.0-devel */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} +/* libR-sys version: 0.7.0 */ +/* bindgen clang version: clang version 18.1.6 */ +/* r version: 4.5.0-devel */ + +#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] +pub type R_xlen_t = isize; +extern "C" { + pub fn S_Rf_divset( + alg: ::std::os::raw::c_int, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + v: *mut f64, + ); + pub fn S_nlminb_iterate( + b: *mut f64, + d: *mut f64, + fx: f64, + g: *mut f64, + h: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + v: *mut f64, + x: *mut f64, + ); + pub fn S_nlsb_iterate( + b: *mut f64, + d: *mut f64, + dr: *mut f64, + iv: *mut ::std::os::raw::c_int, + liv: ::std::os::raw::c_int, + lv: ::std::os::raw::c_int, + n: ::std::os::raw::c_int, + nd: ::std::os::raw::c_int, + p: ::std::os::raw::c_int, + r: *mut f64, + rd: *mut f64, + v: *mut f64, + x: *mut f64, + ); + pub fn S_rcont2( + nrow: ::std::os::raw::c_int, + ncol: ::std::os::raw::c_int, + nrowt: *const ::std::os::raw::c_int, + ncolt: *const ::std::os::raw::c_int, + ntotal: ::std::os::raw::c_int, + fact: *const f64, + jwork: *mut ::std::os::raw::c_int, + matrix: *mut ::std::os::raw::c_int, + ); +} From 351a189de3372c145b951dcb77a17e29e8b3478e Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 16:09:08 +0200 Subject: [PATCH 46/50] [generate bindings] --- build.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.rs b/build.rs index a048c91c..5e497778 100644 --- a/build.rs +++ b/build.rs @@ -457,7 +457,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { bindgen_builder.clang_args([format!("-I{r_include_path}",), format!("--target={target}")]); // this effectively ignores all non-R headers from sneaking in - bindgen_builder = bindgen_builder.allowlist_file(".*mini_wrapper\\.h$"); + bindgen_builder = bindgen_builder.allowlist_file(r".*mini_wrapper\.h$"); // stops warning about ignored attributes, // e.g. ignores `__format__` attributes caused by `stdio.h` @@ -534,6 +534,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { .into_iter() .map(|x| { let r_header_path = x.replace(r"\", r"/"); +let r_header_path = r_header_path.replace(r"/R_ext", r"\R_ext"); r_header_path }) .collect(); @@ -573,7 +574,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let mut bindings = bindgen_builder.clone(); bindings = bindings.allowlist_file(r_header_regex); match r_header_name { - r"Complex" => { + "Complex" => { bindings = bindings.header("mini_Rcomplex.h"); } "Parse" => { @@ -609,8 +610,7 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { continue; } - let other_r_header = other_r_header.replace(r"\", r"/"); - let other_r_header = regex::escape(&other_r_header); + let other_r_header = regex::escape(&other_r_header); // println!("cargo:warning=blocking {}", other_r_header); bindings = bindings.blocklist_file(other_r_header); } From 60e1cfcc52b31bbdc13c9789b6de1d5affcc6740 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 16:47:25 +0200 Subject: [PATCH 47/50] updated bindings manually [generate bindings] --- .../bindings-Altrep-windows-x86_64-R4.4.rs | 69 ----- .../bindings-Applic-windows-x86_64-R4.4.rs | 8 - bindings/bindings-BLAS-windows-x86_64-R4.4.rs | 55 ---- .../bindings-Callbacks-windows-x86_64-R4.4.rs | 9 - ...indings-Connections-windows-x86_64-R4.4.rs | 9 - ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 8 - ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 267 ------------------ .../bindings-Lapack-windows-x86_64-R4.4.rs | 55 ---- .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 55 ---- .../bindings-RStartup-windows-x86_64-R4.4.rs | 10 - .../bindings-Rdynload-windows-x86_64-R4.4.rs | 8 - .../bindings-Rembedded-windows-x86_64-R4.4.rs | 16 -- ...bindings-Rinternals-windows-x86_64-R4.4.rs | 66 ----- .../bindings-Utils-windows-x86_64-R4.4.rs | 63 ----- build.rs | 24 +- 15 files changed, 4 insertions(+), 718 deletions(-) diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.4.rs b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs index 0c722857..3b865bc9 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.4.rs @@ -4,77 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/bindings/bindings-Applic-windows-x86_64-R4.4.rs b/bindings/bindings-Applic-windows-x86_64-R4.4.rs index 35c10bb7..87bb76b9 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.4.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.4.rs b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs index 92602d85..0c64c566 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.4.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.4.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { pub fn dasum_( n: *const ::std::os::raw::c_int, diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs index 56d3f8e5..ce1a6bc6 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.4.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type SEXP = *mut SEXPREC; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< @@ -80,7 +72,6 @@ pub type Rdb_canCache = ::std::option::Option< pub type Rdb_onDetach = ::std::option::Option; pub type Rdb_onAttach = ::std::option::Option; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _R_ObjectTable { pub type_: ::std::os::raw::c_int, pub cachedNames: *mut *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/bindings/bindings-Connections-windows-x86_64-R4.4.rs index 0b087cc9..eb791b42 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.4.rs @@ -9,17 +9,8 @@ pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type Rconnection = *mut Rconn; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct Rconn { pub class: *mut ::std::os::raw::c_char, pub description: *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs index cbcd8eb2..58d58349 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs @@ -10,14 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs index 7fc30520..6a1d5be1 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs @@ -73,14 +73,6 @@ pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum GEUnit { @@ -161,265 +153,6 @@ pub struct R_GE_gcontext { pub patternFill: SEXP, } pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs index a1a941eb..909ce5cb 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.4.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type L_fp = ::std::option::Option< unsafe extern "C" fn( arg1: *mut f64, diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs index 4c45cede..61f0d997 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type SEXP = *mut SEXPREC; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs index bd11e0c5..b6044cb9 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.4.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.4.rs @@ -89,14 +89,6 @@ pub const RSTART_VERSION: u32 = 1; pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum UImode { RGui = 0, RTerm = 1, @@ -117,7 +109,6 @@ pub enum SA_TYPE { SA_SUICIDE = 6, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct structRstart { pub R_Quiet: Rboolean, pub R_NoEcho: Rboolean, @@ -231,5 +222,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs index c4bd74b1..b6281f4e 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs @@ -7,14 +7,6 @@ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs index cd355de0..41923555 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.4.rs @@ -6,24 +6,8 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); pub fn setup_term_ui(); pub static mut UserBreak: ::std::os::raw::c_int; pub fn GA_initapp( diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs index 5c9c3af5..4e8486e5 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.4.rs @@ -4,55 +4,6 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const R_LEN_T_MAX: u32 = 2147483647; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; @@ -80,22 +31,6 @@ pub struct _iobuf { pub _Placeholder: *mut ::std::os::raw::c_void, } pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -799,7 +734,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/bindings/bindings-Utils-windows-x86_64-R4.4.rs index a54abb0e..8adadd84 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.4.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.4.rs @@ -4,71 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.4.1 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { #[doc = "../../main/sort.c :"] pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); diff --git a/build.rs b/build.rs index 5e497778..5127091a 100644 --- a/build.rs +++ b/build.rs @@ -377,24 +377,9 @@ fn set_r_version_vars(ver: &RVersionInfo) { #[cfg(all(feature = "use-bindgen", not(feature = "non-api")))] fn get_non_api() -> std::collections::HashSet { - // Several non-APIs are required for extendr-engine, so we explicitly allow - // these here. If extendr-engine (or other crate) requires more non-APIs, - // add it here with caution. - const REQUIRED_NON_API: [&str; 6] = [ - "R_CStackLimit", - "R_CleanTempDir", - "R_RunExitFinalizers", - "Rf_endEmbeddedR", - "Rf_initialize_R", - "setup_Rmainloop", - ]; - - // nonAPI.txt is generated by + // nonAPI.txt is generated by // Rscript -e 'cat(tools:::nonAPI, sep = "\n")' | tr -d '\r' | sort -u | tee ./nonAPI.txt - let non_api = include_str!("./nonAPI.txt") - .lines() - .filter(|e| !REQUIRED_NON_API.contains(e)) - .map(|s| s.to_string()); + let non_api = include_str!("./nonAPI.txt").lines().map(|s| s.to_string()); std::collections::HashSet::from_iter(non_api) } @@ -566,9 +551,8 @@ let r_header_path = r_header_path.replace(r"/R_ext", r"\R_ext"); // dbg!(&out_path); for r_header in &r_headers { let r_header_name = Path::new(r_header).file_stem().unwrap().to_str().unwrap(); - - let r_header_regex = r_header.replace(r"\", r"/"); - let r_header_regex = regex::escape(&r_header_regex); + + let r_header_regex = regex::escape(&r_header); // println!("cargo:warning=allowing {}", r_header_regex); // dbg!(r_header_name); let mut bindings = bindgen_builder.clone(); From 5498112fc06229da41a8fd86dcfb254e0e3b3cfb Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 16:54:55 +0200 Subject: [PATCH 48/50] [generate bindings] --- build.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 5127091a..ec4361a0 100644 --- a/build.rs +++ b/build.rs @@ -518,8 +518,11 @@ fn generate_bindings(r_paths: &InstallationPaths, version_info: &RVersionInfo) { let r_headers: Vec<_> = r_headers .into_iter() .map(|x| { - let r_header_path = x.replace(r"\", r"/"); -let r_header_path = r_header_path.replace(r"/R_ext", r"\R_ext"); + let mut r_header_path = x.replace(r"\", r"/"); + if cfg!(windows) { + r_header_path = r_header_path.replace(r"/R_ext", r"\R_ext"); + } + let r_header_path = r_header_path; r_header_path }) .collect(); From 1919380fedfc17c6b63cc3d88636414eeaba5ef8 Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sat, 20 Jul 2024 15:08:34 +0000 Subject: [PATCH 49/50] Update bindings [skip ci] --- .../bindings-Altrep-windows-x86_64-R4.2.rs | 20 -- .../bindings-Altrep-windows-x86_64-R4.3.rs | 69 ----- ...ndings-Altrep-windows-x86_64-R4.5-devel.rs | 69 ----- .../bindings-Applic-windows-x86_64-R4.2.rs | 8 - .../bindings-Applic-windows-x86_64-R4.3.rs | 8 - ...ndings-Applic-windows-x86_64-R4.5-devel.rs | 8 - bindings/bindings-BLAS-windows-x86_64-R4.2.rs | 6 - bindings/bindings-BLAS-windows-x86_64-R4.3.rs | 55 ---- ...bindings-BLAS-windows-x86_64-R4.5-devel.rs | 55 ---- .../bindings-Callbacks-windows-x86_64-R4.2.rs | 9 - .../bindings-Callbacks-windows-x86_64-R4.3.rs | 9 - ...ngs-Callbacks-windows-x86_64-R4.5-devel.rs | 9 - ...indings-Connections-windows-x86_64-R4.2.rs | 9 - ...indings-Connections-windows-x86_64-R4.3.rs | 9 - ...s-Connections-windows-x86_64-R4.5-devel.rs | 9 - ...ings-GraphicsDevice-windows-x86_64-R4.2.rs | 8 - ...ings-GraphicsDevice-windows-x86_64-R4.3.rs | 8 - ...raphicsDevice-windows-x86_64-R4.5-devel.rs | 8 - ...ings-GraphicsEngine-windows-x86_64-R4.2.rs | 254 ----------------- ...ings-GraphicsEngine-windows-x86_64-R4.3.rs | 267 ------------------ ...raphicsEngine-windows-x86_64-R4.5-devel.rs | 267 ------------------ .../bindings-Lapack-windows-x86_64-R4.2.rs | 6 - .../bindings-Lapack-windows-x86_64-R4.3.rs | 55 ---- ...ndings-Lapack-windows-x86_64-R4.5-devel.rs | 55 ---- .../bindings-PrtUtil-windows-x86_64-R4.2.rs | 6 - .../bindings-PrtUtil-windows-x86_64-R4.3.rs | 55 ---- ...dings-PrtUtil-windows-x86_64-R4.5-devel.rs | 55 ---- .../bindings-RStartup-linux-aarch64-R4.2.rs | 1 - .../bindings-RStartup-linux-aarch64-R4.3.rs | 1 - .../bindings-RStartup-linux-aarch64-R4.4.rs | 1 - ...dings-RStartup-linux-aarch64-R4.5-devel.rs | 1 - .../bindings-RStartup-linux-x86_64-R4.2.rs | 1 - .../bindings-RStartup-linux-x86_64-R4.3.rs | 1 - .../bindings-RStartup-linux-x86_64-R4.4.rs | 1 - ...ndings-RStartup-linux-x86_64-R4.5-devel.rs | 1 - .../bindings-RStartup-macos-aarch64-R4.2.rs | 1 - .../bindings-RStartup-macos-aarch64-R4.3.rs | 1 - .../bindings-RStartup-macos-aarch64-R4.4.rs | 1 - ...dings-RStartup-macos-aarch64-R4.5-devel.rs | 1 - .../bindings-RStartup-macos-x86_64-R4.2.rs | 1 - .../bindings-RStartup-macos-x86_64-R4.4.rs | 1 - .../bindings-RStartup-windows-x86_64-R4.2.rs | 10 - .../bindings-RStartup-windows-x86_64-R4.3.rs | 10 - ...ings-RStartup-windows-x86_64-R4.5-devel.rs | 10 - .../bindings-Rdynload-windows-x86_64-R4.2.rs | 8 - .../bindings-Rdynload-windows-x86_64-R4.3.rs | 8 - ...ings-Rdynload-windows-x86_64-R4.5-devel.rs | 8 - .../bindings-Rembedded-linux-aarch64-R4.2.rs | 8 - .../bindings-Rembedded-linux-aarch64-R4.3.rs | 8 - .../bindings-Rembedded-linux-aarch64-R4.4.rs | 8 - ...ings-Rembedded-linux-aarch64-R4.5-devel.rs | 8 - .../bindings-Rembedded-linux-x86_64-R4.2.rs | 8 - .../bindings-Rembedded-linux-x86_64-R4.3.rs | 8 - .../bindings-Rembedded-linux-x86_64-R4.4.rs | 8 - ...dings-Rembedded-linux-x86_64-R4.5-devel.rs | 8 - .../bindings-Rembedded-macos-aarch64-R4.2.rs | 8 - .../bindings-Rembedded-macos-aarch64-R4.3.rs | 8 - .../bindings-Rembedded-macos-aarch64-R4.4.rs | 8 - ...ings-Rembedded-macos-aarch64-R4.5-devel.rs | 8 - .../bindings-Rembedded-macos-x86_64-R4.2.rs | 8 - .../bindings-Rembedded-macos-x86_64-R4.4.rs | 8 - .../bindings-Rembedded-windows-x86_64-R4.2.rs | 16 -- .../bindings-Rembedded-windows-x86_64-R4.3.rs | 16 -- ...ngs-Rembedded-windows-x86_64-R4.5-devel.rs | 16 -- .../bindings-Rinterface-linux-aarch64-R4.2.rs | 2 - .../bindings-Rinterface-linux-aarch64-R4.3.rs | 2 - .../bindings-Rinterface-linux-aarch64-R4.4.rs | 2 - ...ngs-Rinterface-linux-aarch64-R4.5-devel.rs | 2 - .../bindings-Rinterface-linux-x86_64-R4.2.rs | 2 - .../bindings-Rinterface-linux-x86_64-R4.3.rs | 2 - .../bindings-Rinterface-linux-x86_64-R4.4.rs | 2 - ...ings-Rinterface-linux-x86_64-R4.5-devel.rs | 2 - .../bindings-Rinterface-macos-aarch64-R4.2.rs | 2 - .../bindings-Rinterface-macos-aarch64-R4.3.rs | 2 - .../bindings-Rinterface-macos-aarch64-R4.4.rs | 2 - ...ngs-Rinterface-macos-aarch64-R4.5-devel.rs | 2 - .../bindings-Rinterface-macos-x86_64-R4.2.rs | 2 - .../bindings-Rinterface-macos-x86_64-R4.4.rs | 2 - .../bindings-Rinternals-linux-aarch64-R4.2.rs | 1 - .../bindings-Rinternals-linux-aarch64-R4.3.rs | 1 - .../bindings-Rinternals-linux-aarch64-R4.4.rs | 1 - ...ngs-Rinternals-linux-aarch64-R4.5-devel.rs | 1 - .../bindings-Rinternals-linux-x86_64-R4.2.rs | 1 - .../bindings-Rinternals-linux-x86_64-R4.3.rs | 1 - .../bindings-Rinternals-linux-x86_64-R4.4.rs | 1 - ...ings-Rinternals-linux-x86_64-R4.5-devel.rs | 1 - .../bindings-Rinternals-macos-aarch64-R4.2.rs | 1 - .../bindings-Rinternals-macos-aarch64-R4.3.rs | 1 - .../bindings-Rinternals-macos-aarch64-R4.4.rs | 1 - ...ngs-Rinternals-macos-aarch64-R4.5-devel.rs | 1 - .../bindings-Rinternals-macos-x86_64-R4.2.rs | 1 - .../bindings-Rinternals-macos-x86_64-R4.4.rs | 1 - ...bindings-Rinternals-windows-x86_64-R4.2.rs | 17 -- ...bindings-Rinternals-windows-x86_64-R4.3.rs | 66 ----- ...gs-Rinternals-windows-x86_64-R4.5-devel.rs | 66 ----- .../bindings-Utils-windows-x86_64-R4.2.rs | 14 - .../bindings-Utils-windows-x86_64-R4.3.rs | 63 ----- ...indings-Utils-windows-x86_64-R4.5-devel.rs | 63 ----- 98 files changed, 1955 deletions(-) diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.2.rs b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs index caf786ff..6b21e087 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.2.rs @@ -6,26 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.3.rs b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs index b6dd0f02..ea875ee4 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.3.rs @@ -4,77 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs index 0633a858..947b3781 100644 --- a/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Altrep-windows-x86_64-R4.5-devel.rs @@ -4,77 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; #[repr(C)] pub struct R_altrep_class_t { pub ptr: SEXP, diff --git a/bindings/bindings-Applic-windows-x86_64-R4.2.rs b/bindings/bindings-Applic-windows-x86_64-R4.2.rs index c954266e..ef0c4f3e 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.2.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), diff --git a/bindings/bindings-Applic-windows-x86_64-R4.3.rs b/bindings/bindings-Applic-windows-x86_64-R4.3.rs index 45d9ce25..9aaab6b4 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.3.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), diff --git a/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs index 568f29d5..2b92b1cb 100644 --- a/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Applic-windows-x86_64-R4.5-devel.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "../../appl/integrate.c"] pub type integr_fn = ::std::option::Option< unsafe extern "C" fn(x: *mut f64, n: ::std::os::raw::c_int, ex: *mut ::std::os::raw::c_void), diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.2.rs b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs index 61f4bce6..47131cd8 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.2.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.2.rs @@ -6,12 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} extern "C" { pub fn dasum_( n: *const ::std::os::raw::c_int, diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.3.rs b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs index dc77951e..4864189a 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.3.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.3.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { pub fn dasum_( n: *const ::std::os::raw::c_int, diff --git a/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs index 79dd70af..a1c1586e 100644 --- a/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-BLAS-windows-x86_64-R4.5-devel.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { pub fn dasum_( n: *const ::std::os::raw::c_int, diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs index 587efe97..43587c07 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.2.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type SEXP = *mut SEXPREC; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed propertly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< @@ -80,7 +72,6 @@ pub type Rdb_canCache = ::std::option::Option< pub type Rdb_onDetach = ::std::option::Option; pub type Rdb_onAttach = ::std::option::Option; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _R_ObjectTable { pub type_: ::std::os::raw::c_int, pub cachedNames: *mut *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs index f57ff68f..3627d151 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.3.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type SEXP = *mut SEXPREC; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< @@ -80,7 +72,6 @@ pub type Rdb_canCache = ::std::option::Option< pub type Rdb_onDetach = ::std::option::Option; pub type Rdb_onAttach = ::std::option::Option; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _R_ObjectTable { pub type_: ::std::os::raw::c_int, pub cachedNames: *mut *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs index 88e6bdb3..631e8a67 100644 --- a/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Callbacks-windows-x86_64-R4.5-devel.rs @@ -6,14 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type SEXP = *mut SEXPREC; #[doc = "The signature of the C routine that a callback must implement.\nexpr - the expression for the top-level task that was evaluated.\nvalue - the result of the top-level task, i.e. evaluating expr.\nsucceeded - a logical value indicating whether the task completed properly.\nvisible - a logical value indicating whether the result was printed to the R ``console''/stdout.\ndata - user-level data passed to the registration routine."] pub type R_ToplevelCallback = ::std::option::Option< @@ -80,7 +72,6 @@ pub type Rdb_canCache = ::std::option::Option< pub type Rdb_onDetach = ::std::option::Option; pub type Rdb_onAttach = ::std::option::Option; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct _R_ObjectTable { pub type_: ::std::os::raw::c_int, pub cachedNames: *mut *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Connections-windows-x86_64-R4.2.rs b/bindings/bindings-Connections-windows-x86_64-R4.2.rs index 5afd991d..61094f5a 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.2.rs @@ -9,17 +9,8 @@ pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type Rconnection = *mut Rconn; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct Rconn { pub class: *mut ::std::os::raw::c_char, pub description: *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Connections-windows-x86_64-R4.3.rs b/bindings/bindings-Connections-windows-x86_64-R4.3.rs index ae8a5f80..3eaeada8 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.3.rs @@ -9,17 +9,8 @@ pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type Rconnection = *mut Rconn; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct Rconn { pub class: *mut ::std::os::raw::c_char, pub description: *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs index b06f0861..408e6a8f 100644 --- a/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Connections-windows-x86_64-R4.5-devel.rs @@ -9,17 +9,8 @@ pub type __gnuc_va_list = __builtin_va_list; pub type va_list = __gnuc_va_list; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} pub type Rconnection = *mut Rconn; #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct Rconn { pub class: *mut ::std::os::raw::c_char, pub description: *mut ::std::os::raw::c_char, diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs index efb0ff4f..35ea4b07 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.2.rs @@ -10,14 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs index d3c3f2a2..e918f433 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.3.rs @@ -10,14 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs index e462f49c..c2969297 100644 --- a/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsDevice-windows-x86_64-R4.5-devel.rs @@ -10,14 +10,6 @@ pub const middleButton: u32 = 2; pub const rightButton: u32 = 4; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] pub type DevDesc = _DevDesc; pub type pDevDesc = *mut DevDesc; diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs index a5fd1310..5a470bca 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.2.rs @@ -68,14 +68,6 @@ pub const R_GE_capability_paths: u32 = 11; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum GEUnit { @@ -156,252 +148,6 @@ pub struct R_GE_gcontext { pub patternFill: SEXP, } pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs index 47c6a445..f05c17c1 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.3.rs @@ -73,14 +73,6 @@ pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum GEUnit { @@ -161,265 +153,6 @@ pub struct R_GE_gcontext { pub patternFill: SEXP, } pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, diff --git a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs index 8b86fe53..21ab2ac2 100644 --- a/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-GraphicsEngine-windows-x86_64-R4.5-devel.rs @@ -73,14 +73,6 @@ pub const R_GE_text_style_oblique: u32 = 3; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; #[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] #[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum GEUnit { @@ -161,265 +153,6 @@ pub struct R_GE_gcontext { pub patternFill: SEXP, } pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} pub type GEDevDesc = _GEDevDesc; pub type GEcallback = ::std::option::Option< unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.2.rs b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs index b820e782..358bd6ec 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.2.rs @@ -6,12 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} pub type L_fp = ::std::option::Option< unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, >; diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.3.rs b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs index 8984f1cb..237a0a00 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.3.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type L_fp = ::std::option::Option< unsafe extern "C" fn(arg1: *mut f64, arg2: *mut f64, arg3: *mut f64) -> ::std::os::raw::c_int, >; diff --git a/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs index 99e71b9e..90847b7b 100644 --- a/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Lapack-windows-x86_64-R4.5-devel.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type L_fp = ::std::option::Option< unsafe extern "C" fn( arg1: *mut f64, diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs index dff0f752..6f6e1c73 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.2.rs @@ -6,12 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} pub type SEXP = *mut SEXPREC; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs index 0894ff33..0dc0d3d4 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.3.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type SEXP = *mut SEXPREC; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs index 37d4e9c0..886f6573 100644 --- a/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-PrtUtil-windows-x86_64-R4.5-devel.rs @@ -4,63 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} pub type SEXP = *mut SEXPREC; extern "C" { pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.2.rs b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs index 4ebf92d1..a94046fb 100644 --- a/bindings/bindings-RStartup-linux-aarch64-R4.2.rs +++ b/bindings/bindings-RStartup-linux-aarch64-R4.2.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.3.rs b/bindings/bindings-RStartup-linux-aarch64-R4.3.rs index c298cf60..0b1d7a2f 100644 --- a/bindings/bindings-RStartup-linux-aarch64-R4.3.rs +++ b/bindings/bindings-RStartup-linux-aarch64-R4.3.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.4.rs b/bindings/bindings-RStartup-linux-aarch64-R4.4.rs index 14d82240..0f4c9798 100644 --- a/bindings/bindings-RStartup-linux-aarch64-R4.4.rs +++ b/bindings/bindings-RStartup-linux-aarch64-R4.4.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs index ee19ea3b..113ec8d6 100644 --- a/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-linux-aarch64-R4.5-devel.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.2.rs b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs index 4ebf92d1..a94046fb 100644 --- a/bindings/bindings-RStartup-linux-x86_64-R4.2.rs +++ b/bindings/bindings-RStartup-linux-x86_64-R4.2.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.3.rs b/bindings/bindings-RStartup-linux-x86_64-R4.3.rs index c298cf60..0b1d7a2f 100644 --- a/bindings/bindings-RStartup-linux-x86_64-R4.3.rs +++ b/bindings/bindings-RStartup-linux-x86_64-R4.3.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.4.rs b/bindings/bindings-RStartup-linux-x86_64-R4.4.rs index 14d82240..0f4c9798 100644 --- a/bindings/bindings-RStartup-linux-x86_64-R4.4.rs +++ b/bindings/bindings-RStartup-linux-x86_64-R4.4.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs index ee19ea3b..113ec8d6 100644 --- a/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-linux-x86_64-R4.5-devel.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.2.rs b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs index d7ae05ff..10933192 100644 --- a/bindings/bindings-RStartup-macos-aarch64-R4.2.rs +++ b/bindings/bindings-RStartup-macos-aarch64-R4.2.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.3.rs b/bindings/bindings-RStartup-macos-aarch64-R4.3.rs index 04adde8f..486e7e72 100644 --- a/bindings/bindings-RStartup-macos-aarch64-R4.3.rs +++ b/bindings/bindings-RStartup-macos-aarch64-R4.3.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.4.rs b/bindings/bindings-RStartup-macos-aarch64-R4.4.rs index 013b08d8..ace78506 100644 --- a/bindings/bindings-RStartup-macos-aarch64-R4.4.rs +++ b/bindings/bindings-RStartup-macos-aarch64-R4.4.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs b/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs index 2174dfd2..5a21302d 100644 --- a/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-macos-aarch64-R4.5-devel.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-x86_64-R4.2.rs b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs index d7ae05ff..10933192 100644 --- a/bindings/bindings-RStartup-macos-x86_64-R4.2.rs +++ b/bindings/bindings-RStartup-macos-x86_64-R4.2.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-macos-x86_64-R4.4.rs b/bindings/bindings-RStartup-macos-x86_64-R4.4.rs index 013b08d8..ace78506 100644 --- a/bindings/bindings-RStartup-macos-x86_64-R4.4.rs +++ b/bindings/bindings-RStartup-macos-x86_64-R4.4.rs @@ -168,5 +168,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.2.rs b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs index 2c8135e9..d51bfde7 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.2.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.2.rs @@ -89,14 +89,6 @@ pub const RSTART_VERSION: u32 = 1; pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum UImode { RGui = 0, RTerm = 1, @@ -117,7 +109,6 @@ pub enum SA_TYPE { SA_SUICIDE = 6, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct structRstart { pub R_Quiet: Rboolean, pub R_NoEcho: Rboolean, @@ -230,5 +221,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.3.rs b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs index 13b73990..4d07b7cd 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.3.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.3.rs @@ -89,14 +89,6 @@ pub const RSTART_VERSION: u32 = 1; pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum UImode { RGui = 0, RTerm = 1, @@ -117,7 +109,6 @@ pub enum SA_TYPE { SA_SUICIDE = 6, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct structRstart { pub R_Quiet: Rboolean, pub R_NoEcho: Rboolean, @@ -230,5 +221,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs index df3b0b09..41d9ee34 100644 --- a/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-RStartup-windows-x86_64-R4.5-devel.rs @@ -89,14 +89,6 @@ pub const RSTART_VERSION: u32 = 1; pub type R_xlen_t = isize; #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum UImode { RGui = 0, RTerm = 1, @@ -117,7 +109,6 @@ pub enum SA_TYPE { SA_SUICIDE = 6, } #[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct structRstart { pub R_Quiet: Rboolean, pub R_NoEcho: Rboolean, @@ -231,5 +222,4 @@ extern "C" { arg2: *mut *mut ::std::os::raw::c_char, arg3: Rstart, ); - pub fn setup_Rmainloop(); } diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs index 9ad70373..2733e5af 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.2.rs @@ -7,14 +7,6 @@ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs index 63c75a4f..57dab81c 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.3.rs @@ -7,14 +7,6 @@ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; diff --git a/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs index cae7027d..c2f5c523 100644 --- a/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rdynload-windows-x86_64-R4.5-devel.rs @@ -7,14 +7,6 @@ pub const SINGLESXP: u32 = 302; #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} #[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs index 5ec53432..2858ca95 100644 --- a/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.2.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs index 35ab0ee2..465d0b73 100644 --- a/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.3.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs index ac13605c..6d646ea3 100644 --- a/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.4.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs index 35746b47..ad3532e4 100644 --- a/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-linux-aarch64-R4.5-devel.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs index 5ec53432..2858ca95 100644 --- a/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.2.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs index 35ab0ee2..465d0b73 100644 --- a/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.3.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs index ac13605c..6d646ea3 100644 --- a/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.4.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs index 35746b47..ad3532e4 100644 --- a/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-linux-x86_64-R4.5-devel.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs index 7f98b9b6..6baea76a 100644 --- a/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.2.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs index 93401f7e..132e58c2 100644 --- a/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.3.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs index 0726d064..e15c0991 100644 --- a/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.4.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs index 69de97c1..050ac50d 100644 --- a/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-macos-aarch64-R4.5-devel.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs index 7f98b9b6..6baea76a 100644 --- a/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs +++ b/bindings/bindings-Rembedded-macos-x86_64-R4.2.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs b/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs index 0726d064..e15c0991 100644 --- a/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs +++ b/bindings/bindings-Rembedded-macos-x86_64-R4.4.rs @@ -7,13 +7,5 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); } diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs index 264a79c4..ad3b02e9 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.2.rs @@ -6,24 +6,8 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); pub fn setup_term_ui(); pub static mut UserBreak: ::std::os::raw::c_int; pub fn GA_initapp( diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs index 1b6b6c10..a0986547 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.3.rs @@ -6,24 +6,8 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); pub fn setup_term_ui(); pub static mut UserBreak: ::std::os::raw::c_int; pub fn GA_initapp( diff --git a/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs index 550c043e..30027aa2 100644 --- a/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rembedded-windows-x86_64-R4.5-devel.rs @@ -6,24 +6,8 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} extern "C" { - pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); - pub fn Rf_initialize_R( - ac: ::std::os::raw::c_int, - av: *mut *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn setup_Rmainloop(); - pub fn R_RunExitFinalizers(); pub fn CleanEd(); - pub fn R_CleanTempDir(); pub fn setup_term_ui(); pub static mut UserBreak: ::std::os::raw::c_int; pub fn GA_initapp( diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs index 051f1e12..1e806321 100644 --- a/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.2.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs index a3802c5d..637d1e3f 100644 --- a/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.3.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs index 12dc2443..bac91453 100644 --- a/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.4.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs index 50949e9f..02726c2e 100644 --- a/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinterface-linux-aarch64-R4.5-devel.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs index 051f1e12..1e806321 100644 --- a/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.2.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs index a3802c5d..637d1e3f 100644 --- a/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.3.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs index 12dc2443..bac91453 100644 --- a/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.4.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs index 50949e9f..02726c2e 100644 --- a/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinterface-linux-x86_64-R4.5-devel.rs @@ -62,6 +62,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs index 4ddad611..ebaa6d3e 100644 --- a/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.2.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs index fad3cc9d..caa7c5bb 100644 --- a/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.3.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs index 78d78da4..9f5da639 100644 --- a/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.4.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs index b3888913..e31c44ef 100644 --- a/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinterface-macos-aarch64-R4.5-devel.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs index 4ddad611..ebaa6d3e 100644 --- a/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs +++ b/bindings/bindings-Rinterface-macos-x86_64-R4.2.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs b/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs index 78d78da4..9f5da639 100644 --- a/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs +++ b/bindings/bindings-Rinterface-macos-x86_64-R4.4.rs @@ -69,6 +69,4 @@ extern "C" { pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); - #[doc = "C stack limit"] - pub static mut R_CStackLimit: usize; } diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs index 00f5bb3d..65f8a8a8 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.2.rs @@ -767,7 +767,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs index 01d667c7..34c39b07 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.3.rs @@ -776,7 +776,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs index 741c352e..d1ee5731 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.4.rs @@ -779,7 +779,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs index 8fe0d4ab..33c315e2 100644 --- a/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-linux-aarch64-R4.5-devel.rs @@ -787,7 +787,6 @@ extern "C" { pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs index 00f5bb3d..65f8a8a8 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.2.rs @@ -767,7 +767,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs index 01d667c7..34c39b07 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.3.rs @@ -776,7 +776,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs index 741c352e..d1ee5731 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.4.rs @@ -779,7 +779,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs index 8fe0d4ab..33c315e2 100644 --- a/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-linux-x86_64-R4.5-devel.rs @@ -787,7 +787,6 @@ extern "C" { pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs index c595d229..5344f910 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.2.rs @@ -775,7 +775,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs index bb58873b..d5f65cb0 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.3.rs @@ -784,7 +784,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs index c7dcdf58..80ed3ac8 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.4.rs @@ -787,7 +787,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs index 1c119284..8148499f 100644 --- a/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-macos-aarch64-R4.5-devel.rs @@ -795,7 +795,6 @@ extern "C" { pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs index c595d229..5344f910 100644 --- a/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.2.rs @@ -775,7 +775,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs index c7dcdf58..80ed3ac8 100644 --- a/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs +++ b/bindings/bindings-Rinternals-macos-x86_64-R4.4.rs @@ -787,7 +787,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs index 57ebeb0f..d96db106 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.2.rs @@ -30,22 +30,6 @@ pub struct _iobuf { pub _Placeholder: *mut ::std::os::raw::c_void, } pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -738,7 +722,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs index 2642f81d..5f389fda 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.3.rs @@ -4,55 +4,6 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const R_LEN_T_MAX: u32 = 2147483647; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; @@ -79,22 +30,6 @@ pub struct _iobuf { pub _Placeholder: *mut ::std::os::raw::c_void, } pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -796,7 +731,6 @@ extern "C" { pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs index 186d55dd..486cdc69 100644 --- a/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Rinternals-windows-x86_64-R4.5-devel.rs @@ -4,55 +4,6 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} pub const R_LEN_T_MAX: u32 = 2147483647; pub const R_XLEN_T_MAX: u64 = 4503599627370496; pub const R_SHORT_LEN_MAX: u32 = 2147483647; @@ -80,22 +31,6 @@ pub struct _iobuf { pub _Placeholder: *mut ::std::os::raw::c_void, } pub type FILE = _iobuf; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; pub type Rbyte = ::std::os::raw::c_uchar; #[doc = "type for length of (standard, not long) vectors etc"] pub type R_len_t = ::std::os::raw::c_int; @@ -807,7 +742,6 @@ extern "C" { pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); #[doc = "Shutdown actions"] pub fn R_dot_Last(); - pub fn R_RunExitFinalizers(); pub fn R_system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn R_compute_identical(arg1: SEXP, arg2: SEXP, arg3: ::std::os::raw::c_int) -> Rboolean; pub fn R_body_no_src(x: SEXP) -> SEXP; diff --git a/bindings/bindings-Utils-windows-x86_64-R4.2.rs b/bindings/bindings-Utils-windows-x86_64-R4.2.rs index 0e00ef3b..93b0e643 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.2.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.2.rs @@ -6,20 +6,6 @@ #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} extern "C" { #[doc = "../../main/sort.c :"] pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); diff --git a/bindings/bindings-Utils-windows-x86_64-R4.3.rs b/bindings/bindings-Utils-windows-x86_64-R4.3.rs index 08b5dc48..39f47775 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.3.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.3.rs @@ -4,71 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.3.3 */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { #[doc = "../../main/sort.c :"] pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); diff --git a/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs index 5c73ffb9..76d56849 100644 --- a/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-Utils-windows-x86_64-R4.5-devel.rs @@ -4,71 +4,8 @@ /* bindgen clang version: clang version 18.1.6 */ /* r version: 4.5.0-devel */ -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} #[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} extern "C" { #[doc = "../../main/sort.c :"] pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); From 2dc642aa09512b6af476f61ff6196174c69935f3 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 17:35:41 +0200 Subject: [PATCH 50/50] these should be removed? [generate bindings] --- .../bindings-Complex-windows-x86_64-R4.4.rs | 15 - ...indings-Connections-windows-x86_64-R4.4.rs | 114 - .../bindings-Constants-windows-x86_64-R4.4.rs | 9 - .../bindings-Error-windows-x86_64-R4.4.rs | 15 - ...ings-GraphicsDevice-windows-x86_64-R4.4.rs | 368 - ...ings-GraphicsEngine-windows-x86_64-R4.4.rs | 800 -- ...bindings-Itermacros-windows-x86_64-R4.4.rs | 9 - .../bindings-Lapack-windows-x86_64-R4.4.rs | 6494 ----------------- .../bindings-Linpack-windows-x86_64-R4.4.rs | 332 - ...indings-MathThreads-windows-x86_64-R4.4.rs | 12 - .../bindings-Memory-windows-x86_64-R4.4.rs | 32 - .../bindings-Parse-windows-x86_64-R4.4.rs | 26 - .../bindings-Print-windows-x86_64-R4.4.rs | 17 - .../bindings-PrtUtil-windows-x86_64-R4.4.rs | 111 - .../bindings-RS-windows-x86_64-R4.4.rs | 17 - .../bindings-RStartup-windows-x86_64-R4.4.rs | 235 - ...indings-Rallocators-windows-x86_64-R4.4.rs | 27 - .../bindings-Random-windows-x86_64-R4.4.rs | 54 - .../bindings-Rdynload-windows-x86_64-R4.4.rs | 89 - .../bindings-Riconv-windows-x86_64-R4.4.rs | 22 - .../bindings-Utils-windows-x86_64-R4.4.rs | 177 - ...bindings-Visibility-windows-x86_64-R4.4.rs | 8 - .../bindings-libextern-windows-x86_64-R4.4.rs | 8 - ...dings-stats_package-windows-x86_64-R4.4.rs | 118 - ...indings-stats_stubs-windows-x86_64-R4.4.rs | 55 - 25 files changed, 9164 deletions(-) delete mode 100644 src/bindings/bindings-Complex-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Connections-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Constants-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Error-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Memory-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Parse-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Print-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-RS-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Random-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Utils-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-libextern-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs delete mode 100644 src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs diff --git a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs b/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs deleted file mode 100644 index aa1dfb2c..00000000 --- a/src/bindings/bindings-Complex-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,15 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[doc = "R 4.3 redefined `Rcomplex` to a union for compatibility with Fortran.\n But the old definition is compatible both the union version\n and the struct version.\n See: \n
"] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rcomplex { - pub r: f64, - pub i: f64, -} diff --git a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs b/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs deleted file mode 100644 index 0b087cc9..00000000 --- a/src/bindings/bindings-Connections-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,114 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_CONNECTIONS_VERSION: u32 = 1; -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -pub type Rconnection = *mut Rconn; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rconn { - pub class: *mut ::std::os::raw::c_char, - pub description: *mut ::std::os::raw::c_char, - #[doc = "the encoding of 'description'"] - pub enc: ::std::os::raw::c_int, - pub mode: [::std::os::raw::c_char; 5usize], - pub text: Rboolean, - pub isopen: Rboolean, - pub incomplete: Rboolean, - pub canread: Rboolean, - pub canwrite: Rboolean, - pub canseek: Rboolean, - pub blocking: Rboolean, - pub isGzcon: Rboolean, - pub open: ::std::option::Option Rboolean>, - #[doc = "routine closing after auto open"] - pub close: ::std::option::Option, - #[doc = "when closing connection"] - pub destroy: ::std::option::Option, - pub vfprintf: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: *const ::std::os::raw::c_char, - arg3: va_list, - ) -> ::std::os::raw::c_int, - >, - pub fgetc: - ::std::option::Option ::std::os::raw::c_int>, - pub fgetc_internal: - ::std::option::Option ::std::os::raw::c_int>, - pub seek: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut Rconn, - arg2: f64, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> f64, - >, - pub truncate: ::std::option::Option, - pub fflush: - ::std::option::Option ::std::os::raw::c_int>, - pub read: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - pub write: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_void, - arg2: usize, - arg3: usize, - arg4: *mut Rconn, - ) -> usize, - >, - #[doc = "number of lines, position on top line"] - pub nPushBack: ::std::os::raw::c_int, - #[doc = "number of lines, position on top line"] - pub posPushBack: ::std::os::raw::c_int, - pub PushBack: *mut *mut ::std::os::raw::c_char, - pub save: ::std::os::raw::c_int, - pub save2: ::std::os::raw::c_int, - pub encname: [::std::os::raw::c_char; 101usize], - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub inconv: *mut ::std::os::raw::c_void, - #[doc = "will be iconv_t, which is a pointer. NULL if not in use"] - pub outconv: *mut ::std::os::raw::c_void, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub iconvbuff: [::std::os::raw::c_char; 25usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub oconvbuff: [::std::os::raw::c_char; 50usize], - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub next: *mut ::std::os::raw::c_char, - #[doc = "The idea here is that no MBCS char will ever not fit"] - pub init_out: [::std::os::raw::c_char; 25usize], - pub navail: ::std::os::raw::c_short, - pub inavail: ::std::os::raw::c_short, - pub EOF_signalled: Rboolean, - pub UTF8out: Rboolean, - pub id: *mut ::std::os::raw::c_void, - pub ex_ptr: *mut ::std::os::raw::c_void, - pub private: *mut ::std::os::raw::c_void, - #[doc = "for pipes etc"] - pub status: ::std::os::raw::c_int, - pub buff: *mut ::std::os::raw::c_uchar, - pub buff_len: usize, - pub buff_stored_len: usize, - pub buff_pos: usize, -} -pub type __builtin_va_list = *mut ::std::os::raw::c_char; diff --git a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs b/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs deleted file mode 100644 index 6df00fab..00000000 --- a/src/bindings/bindings-Constants-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,9 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const PI: f64 = 3.141592653589793; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs b/src/bindings/bindings-Error-windows-x86_64-R4.4.rs deleted file mode 100644 index f86f6cb3..00000000 --- a/src/bindings/bindings-Error-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,15 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Rf_error(arg1: *const ::std::os::raw::c_char, ...) -> !; - pub fn UNIMPLEMENTED(arg1: *const ::std::os::raw::c_char) -> !; - pub fn WrongArgCount(arg1: *const ::std::os::raw::c_char) -> !; - pub fn Rf_warning(arg1: *const ::std::os::raw::c_char, ...); - pub fn R_ShowMessage(s: *const ::std::os::raw::c_char); -} diff --git a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs deleted file mode 100644 index cbcd8eb2..00000000 --- a/src/bindings/bindings-GraphicsDevice-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,368 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_USE_PROTOTYPES: u32 = 1; -pub const leftButton: u32 = 1; -pub const middleButton: u32 = 2; -pub const rightButton: u32 = 4; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -#[repr(i32)] -#[doc = "These give the indices of some known keys"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_KeyName { - knUNKNOWN = -1, - knLEFT = 0, - knUP = 1, - knRIGHT = 2, - knDOWN = 3, - knF1 = 4, - knF2 = 5, - knF3 = 6, - knF4 = 7, - knF5 = 8, - knF6 = 9, - knF7 = 10, - knF8 = 11, - knF9 = 12, - knF10 = 13, - knF11 = 14, - knF12 = 15, - knPGUP = 16, - knPGDN = 17, - knEND = 18, - knHOME = 19, - knINS = 20, - knDEL = 21, -} -#[repr(u32)] -#[doc = "These are the three possible mouse events"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_MouseEvent { - meMouseDown = 0, - meMouseUp = 1, - meMouseMove = 2, -} -extern "C" { - #[doc = "Properly declared version of devNumber"] - pub fn Rf_ndevNumber(arg1: pDevDesc) -> ::std::os::raw::c_int; - #[doc = "How many devices exist ? (>= 1)"] - pub fn Rf_NumDevices() -> ::std::os::raw::c_int; - #[doc = "Check for an available device slot"] - pub fn R_CheckDeviceAvailable(); - pub fn R_CheckDeviceAvailableBool() -> Rboolean; - #[doc = "Return the number of the current device."] - pub fn Rf_curDevice() -> ::std::os::raw::c_int; - #[doc = "Return the number of the next device."] - pub fn Rf_nextDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Return the number of the previous device."] - pub fn Rf_prevDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Make the specified device (specified by number) the current device"] - pub fn Rf_selectDevice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; - #[doc = "Kill device which is identified by number."] - pub fn Rf_killDevice(arg1: ::std::os::raw::c_int); - pub fn Rf_NoDevices() -> ::std::os::raw::c_int; - pub fn Rf_NewFrameConfirm(arg1: pDevDesc); - pub fn Rf_doMouseEvent( - dd: pDevDesc, - event: R_MouseEvent, - buttons: ::std::os::raw::c_int, - x: f64, - y: f64, - ); - pub fn Rf_doKeybd(dd: pDevDesc, rkey: R_KeyName, keyname: *const ::std::os::raw::c_char); - pub fn Rf_doIdle(dd: pDevDesc); - pub fn Rf_doesIdle(dd: pDevDesc) -> Rboolean; - pub static mut R_interrupts_suspended: Rboolean; - pub static mut R_interrupts_pending: ::std::os::raw::c_int; - pub fn Rf_onintr(); - pub static mut mbcslocale: Rboolean; - #[doc = "Useful for devices: translates Adobe symbol encoding to UTF-8"] - pub fn Rf_AdobeSymbol2utf8( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - nwork: usize, - usePUA: Rboolean, - ) -> *mut ::std::os::raw::c_void; - pub fn Rf_utf8toAdobeSymbol( - out: *mut ::std::os::raw::c_char, - in_: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; - pub fn Rf_utf8Toutf8NoPUA(in_: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - pub fn Rf_utf8ToLatin1AdobeSymbol2utf8( - in_: *const ::std::os::raw::c_char, - usePUA: Rboolean, - ) -> *const ::std::os::raw::c_char; - #[doc = "Translates Unicode point to UTF-8"] - pub fn Rf_ucstoutf8(s: *mut ::std::os::raw::c_char, c: ::std::os::raw::c_uint) -> usize; -} diff --git a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs b/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs deleted file mode 100644 index 7fc30520..00000000 --- a/src/bindings/bindings-GraphicsEngine-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,800 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const R_GE_definitions: u32 = 13; -pub const R_GE_deviceClip: u32 = 14; -pub const R_GE_group: u32 = 15; -pub const R_GE_glyphs: u32 = 16; -pub const R_GE_version: u32 = 16; -pub const MAX_GRAPHICS_SYSTEMS: u32 = 24; -pub const LTY_BLANK: i32 = -1; -pub const LTY_SOLID: u32 = 0; -pub const LTY_DASHED: u32 = 68; -pub const LTY_DOTTED: u32 = 49; -pub const LTY_DOTDASH: u32 = 13361; -pub const LTY_LONGDASH: u32 = 55; -pub const LTY_TWODASH: u32 = 9762; -pub const DEG2RAD: f64 = 0.017453292519943295; -pub const R_GE_linearGradientPattern: u32 = 1; -pub const R_GE_radialGradientPattern: u32 = 2; -pub const R_GE_tilingPattern: u32 = 3; -pub const R_GE_patternExtendPad: u32 = 1; -pub const R_GE_patternExtendRepeat: u32 = 2; -pub const R_GE_patternExtendReflect: u32 = 3; -pub const R_GE_patternExtendNone: u32 = 4; -pub const R_GE_compositeClear: u32 = 1; -pub const R_GE_compositeSource: u32 = 2; -pub const R_GE_compositeOver: u32 = 3; -pub const R_GE_compositeIn: u32 = 4; -pub const R_GE_compositeOut: u32 = 5; -pub const R_GE_compositeAtop: u32 = 6; -pub const R_GE_compositeDest: u32 = 7; -pub const R_GE_compositeDestOver: u32 = 8; -pub const R_GE_compositeDestIn: u32 = 9; -pub const R_GE_compositeDestOut: u32 = 10; -pub const R_GE_compositeDestAtop: u32 = 11; -pub const R_GE_compositeXor: u32 = 12; -pub const R_GE_compositeAdd: u32 = 13; -pub const R_GE_compositeSaturate: u32 = 14; -pub const R_GE_compositeMultiply: u32 = 15; -pub const R_GE_compositeScreen: u32 = 16; -pub const R_GE_compositeOverlay: u32 = 17; -pub const R_GE_compositeDarken: u32 = 18; -pub const R_GE_compositeLighten: u32 = 19; -pub const R_GE_compositeColorDodge: u32 = 20; -pub const R_GE_compositeColorBurn: u32 = 21; -pub const R_GE_compositeHardLight: u32 = 22; -pub const R_GE_compositeSoftLight: u32 = 23; -pub const R_GE_compositeDifference: u32 = 24; -pub const R_GE_compositeExclusion: u32 = 25; -pub const R_GE_nonZeroWindingRule: u32 = 1; -pub const R_GE_evenOddRule: u32 = 2; -pub const R_GE_alphaMask: u32 = 1; -pub const R_GE_luminanceMask: u32 = 2; -pub const R_GE_capability_semiTransparency: u32 = 0; -pub const R_GE_capability_transparentBackground: u32 = 1; -pub const R_GE_capability_rasterImage: u32 = 2; -pub const R_GE_capability_capture: u32 = 3; -pub const R_GE_capability_locator: u32 = 4; -pub const R_GE_capability_events: u32 = 5; -pub const R_GE_capability_patterns: u32 = 6; -pub const R_GE_capability_clippingPaths: u32 = 7; -pub const R_GE_capability_masks: u32 = 8; -pub const R_GE_capability_compositing: u32 = 9; -pub const R_GE_capability_transformations: u32 = 10; -pub const R_GE_capability_paths: u32 = 11; -pub const R_GE_capability_glyphs: u32 = 12; -pub const R_GE_text_style_normal: u32 = 1; -pub const R_GE_text_style_italic: u32 = 2; -pub const R_GE_text_style_oblique: u32 = 3; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[doc = "The graphics engine will only accept locations and dimensions\n in native device coordinates, but it provides the following functions\n for converting between a couple of simple alternative coordinate\n systems and device coordinates:\n DEVICE = native units of the device\n NDC = Normalised device coordinates\n INCHES = inches (!)\n CM = centimetres (!!)"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEUnit { - #[doc = "native device coordinates (rasters)"] - GE_DEVICE = 0, - #[doc = "normalised device coordinates x=(0,1), y=(0,1)"] - GE_NDC = 1, - GE_INCHES = 2, - GE_CM = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum GEevent { - #[doc = "In response to this event, the registered graphics system\n should allocate and initialise the systemSpecific structure\n\n Should return R_NilValue on failure so that engine\n can tidy up memory allocation"] - GE_InitState = 0, - #[doc = "This event gives the registered system a chance to undo\n anything done in the initialisation."] - GE_FinaliseState = 1, - #[doc = "This is sent by the graphics engine prior to initialising\n the display list. It give the graphics system the chance\n to squirrel away information it will need for redrawing the\n the display list"] - GE_SaveState = 2, - #[doc = "This is sent by the graphics engine prior to replaying the\n display list. It gives the graphics system the chance to\n restore any information it saved on the GE_SaveState event"] - GE_RestoreState = 6, - #[doc = "Copy system state information to the current device.\n This is used when copying graphics from one device to another\n so all the graphics system needs to do is to copy across\n the bits required for the display list to draw faithfully\n on the new device."] - GE_CopyState = 3, - #[doc = "Create a snapshot of the system state that is sufficient\n for the current \"image\" to be reproduced"] - GE_SaveSnapshotState = 4, - #[doc = "Restore the system state that is saved by GE_SaveSnapshotState"] - GE_RestoreSnapshotState = 5, - #[doc = "When replaying the display list, the graphics engine\n checks, after each replayed action, that the action\n produced valid output. This is the graphics system's\n chance to say that the output is crap (in which case the\n graphics engine will abort the display list replay)."] - GE_CheckPlot = 7, - #[doc = "The device wants to scale the current pointsize\n (for scaling an image)\n This is not a nice general solution, but a quick fix for\n the Windows device."] - GE_ScalePS = 8, -} -#[repr(u32)] -#[doc = "Some line end/join constants"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_lineend { - GE_ROUND_CAP = 1, - GE_BUTT_CAP = 2, - GE_SQUARE_CAP = 3, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum R_GE_linejoin { - GE_ROUND_JOIN = 1, - GE_MITRE_JOIN = 2, - GE_BEVEL_JOIN = 3, -} -#[doc = "A structure containing graphical parameters\n\n This is how graphical parameters are passed from graphics systems\n to the graphics engine AND from the graphics engine to graphics\n devices.\n\n Devices are not *required* to honour graphical parameters\n (e.g., alpha transparency is going to be tough for some)"] -#[repr(C)] -pub struct R_GE_gcontext { - #[doc = "pen colour (lines, text, borders, ...)"] - pub col: ::std::os::raw::c_int, - #[doc = "fill colour (for polygons, circles, rects, ...)"] - pub fill: ::std::os::raw::c_int, - #[doc = "Gamma correction"] - pub gamma: f64, - #[doc = "Line width (roughly number of pixels)"] - pub lwd: f64, - #[doc = "Line type (solid, dashed, dotted, ...)"] - pub lty: ::std::os::raw::c_int, - #[doc = "Line end"] - pub lend: R_GE_lineend, - #[doc = "line join"] - pub ljoin: R_GE_linejoin, - #[doc = "line mitre"] - pub lmitre: f64, - #[doc = "Character expansion (font size = fontsize*cex)"] - pub cex: f64, - #[doc = "Font size in points"] - pub ps: f64, - #[doc = "Line height (multiply by font size)"] - pub lineheight: f64, - #[doc = "Font face (plain, italic, bold, ...)"] - pub fontface: ::std::os::raw::c_int, - #[doc = "Font family"] - pub fontfamily: [::std::os::raw::c_char; 201usize], - #[doc = "Reference to a pattern fill"] - pub patternFill: SEXP, -} -pub type pGEcontext = *mut R_GE_gcontext; -#[doc = "--------- New (in 1.4.0) device driver structure ---------\n NOTES:\n 1. All locations and dimensions are in device coordinates.\n 2. I found this comment in the doc for dev_Open -- looks nasty\n Any known instances of such a thing happening? Should be\n replaced by a function to query the device for preferred gpars\n settings? (to be called when the device is initialised)\n\n NOTE that it is perfectly acceptable for this\n function to set generic graphics parameters too\n (i.e., override the generic parameter settings\n which GInit sets up) all at the author's own risk\n of course :)\n\n 3. Do we really need dev_StrWidth as well as dev_MetricInfo?\n I can see the difference between the two -- its just a\n question of whether dev_MetricInfo should just return\n what dev_StrWidth would give if font metric information is\n not available. I guess having both allows the developer\n to decide when to ask for which sort of value, and to decide\n what to do when font metric information is not available.\n And why not a dev_StrHeight?\n 4. Should \"ipr\", \"asp\", and \"cra\" be in the device description?\n If not, then where?\n I guess they don't need to be if no device makes use of them.\n On the other hand, they would need to be replaced by a device\n call that R base graphics could use to get enough information\n to figure them out. (e.g., some sort of dpi() function to\n complement the size() function.)"] -pub type DevDesc = _DevDesc; -pub type pDevDesc = *mut DevDesc; -#[repr(C)] -pub struct _DevDesc { - #[doc = "left raster coordinate"] - pub left: f64, - #[doc = "right raster coordinate"] - pub right: f64, - #[doc = "bottom raster coordinate"] - pub bottom: f64, - #[doc = "top raster coordinate"] - pub top: f64, - #[doc = "R only has the notion of a rectangular clipping region"] - pub clipLeft: f64, - pub clipRight: f64, - pub clipBottom: f64, - pub clipTop: f64, - #[doc = "x character addressing offset - unused"] - pub xCharOffset: f64, - #[doc = "y character addressing offset"] - pub yCharOffset: f64, - #[doc = "1/2 interline space as frac of line height"] - pub yLineBias: f64, - #[doc = "Inches per raster; \\[0\\]=x, \\[1\\]=y"] - pub ipr: [f64; 2usize], - #[doc = "Character size in rasters; \\[0\\]=x, \\[1\\]=y"] - pub cra: [f64; 2usize], - #[doc = "(initial) Device Gamma Correction"] - pub gamma: f64, - #[doc = "Device-level clipping"] - pub canClip: Rboolean, - #[doc = "can the gamma factor be modified?"] - pub canChangeGamma: Rboolean, - #[doc = "Can do at least some horiz adjust of text\n0 = none, 1 = {0,0.5,1}, 2 = \\[0,1\\]"] - pub canHAdj: ::std::os::raw::c_int, - #[doc = "Device initial settings\n/\n/* These are things that the device must set up when it is created.\n The graphics system can modify them and track current values,"] - pub startps: f64, - #[doc = "sets par(\"fg\"), par(\"col\") and gpar(\"col\")"] - pub startcol: ::std::os::raw::c_int, - #[doc = "sets par(\"bg\") and gpar(\"fill\")"] - pub startfill: ::std::os::raw::c_int, - pub startlty: ::std::os::raw::c_int, - pub startfont: ::std::os::raw::c_int, - pub startgamma: f64, - #[doc = "pointer to device specific parameters"] - pub deviceSpecific: *mut ::std::os::raw::c_void, - #[doc = "toggle for initial display list status"] - pub displayListOn: Rboolean, - #[doc = "can the device generate mousedown events"] - pub canGenMouseDown: Rboolean, - #[doc = "can the device generate mousemove events"] - pub canGenMouseMove: Rboolean, - #[doc = "can the device generate mouseup events"] - pub canGenMouseUp: Rboolean, - #[doc = "can the device generate keyboard events"] - pub canGenKeybd: Rboolean, - #[doc = "can the device generate idle events"] - pub canGenIdle: Rboolean, - #[doc = "This is set while getGraphicsEvent\nis actively looking for events"] - pub gettingEvent: Rboolean, - pub activate: ::std::option::Option, - pub circle: ::std::option::Option< - unsafe extern "C" fn(x: f64, y: f64, r: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub clip: ::std::option::Option< - unsafe extern "C" fn(x0: f64, x1: f64, y0: f64, y1: f64, dd: pDevDesc), - >, - pub close: ::std::option::Option, - pub deactivate: ::std::option::Option, - pub locator: ::std::option::Option< - unsafe extern "C" fn(x: *mut f64, y: *mut f64, dd: pDevDesc) -> Rboolean, - >, - pub line: ::std::option::Option< - unsafe extern "C" fn(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub metricInfo: ::std::option::Option< - unsafe extern "C" fn( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pDevDesc, - ), - >, - pub mode: - ::std::option::Option, - pub newPage: ::std::option::Option, - pub polygon: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub polyline: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub rect: ::std::option::Option< - unsafe extern "C" fn(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pDevDesc), - >, - pub path: ::std::option::Option< - unsafe extern "C" fn( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub raster: ::std::option::Option< - unsafe extern "C" fn( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - rot: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub cap: ::std::option::Option SEXP>, - pub size: ::std::option::Option< - unsafe extern "C" fn( - left: *mut f64, - right: *mut f64, - bottom: *mut f64, - top: *mut f64, - dd: pDevDesc, - ), - >, - pub strWidth: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub text: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub onExit: ::std::option::Option, - #[doc = "device_getEvent is no longer used, but the slot is kept for back\n compatibility of the structure."] - pub getEvent: ::std::option::Option< - unsafe extern "C" fn(arg1: SEXP, arg2: *const ::std::os::raw::c_char) -> SEXP, - >, - pub newFrameConfirm: ::std::option::Option Rboolean>, - #[doc = "and strWidthUTF8"] - pub hasTextUTF8: Rboolean, - pub textUTF8: ::std::option::Option< - unsafe extern "C" fn( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - rot: f64, - hadj: f64, - gc: pGEcontext, - dd: pDevDesc, - ), - >, - pub strWidthUTF8: ::std::option::Option< - unsafe extern "C" fn( - str_: *const ::std::os::raw::c_char, - gc: pGEcontext, - dd: pDevDesc, - ) -> f64, - >, - pub wantSymbolUTF8: Rboolean, - #[doc = "Is rotated text good enough to be preferable to Hershey in\ncontour labels? Old default was FALSE."] - pub useRotatedTextInContour: Rboolean, - #[doc = "This is an environment holding event handlers."] - pub eventEnv: SEXP, - pub eventHelper: - ::std::option::Option, - pub holdflush: ::std::option::Option< - unsafe extern "C" fn(dd: pDevDesc, level: ::std::os::raw::c_int) -> ::std::os::raw::c_int, - >, - #[doc = "1 = no, 2 = yes"] - pub haveTransparency: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = fully, 3 = semi"] - pub haveTransparentBg: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes, 3 = except for missing values"] - pub haveRaster: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveCapture: ::std::os::raw::c_int, - #[doc = "1 = no, 2 = yes"] - pub haveLocator: ::std::os::raw::c_int, - pub setPattern: - ::std::option::Option SEXP>, - pub releasePattern: ::std::option::Option, - pub setClipPath: - ::std::option::Option SEXP>, - pub releaseClipPath: ::std::option::Option, - pub setMask: - ::std::option::Option SEXP>, - pub releaseMask: ::std::option::Option, - #[doc = "This should match R_GE_version,\n BUT it does not have to.\n It give the graphics engine a chance to work with\n graphics device packages BEFORE they update to\n changes in R_GE_version."] - pub deviceVersion: ::std::os::raw::c_int, - #[doc = "This can be used to OVERRIDE canClip so that graphics engine\n leaves ALL clipping to the graphics device"] - pub deviceClip: Rboolean, - pub defineGroup: ::std::option::Option< - unsafe extern "C" fn( - source: SEXP, - op: ::std::os::raw::c_int, - destination: SEXP, - dd: pDevDesc, - ) -> SEXP, - >, - pub useGroup: - ::std::option::Option, - pub releaseGroup: ::std::option::Option, - pub stroke: - ::std::option::Option, - pub fill: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub fillStroke: ::std::option::Option< - unsafe extern "C" fn(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pDevDesc), - >, - pub capabilities: ::std::option::Option SEXP>, - pub glyph: ::std::option::Option< - unsafe extern "C" fn( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pDevDesc, - ), - >, - #[doc = "Area for future expansion.\nBy zeroing this, devices are more likely to work if loaded\ninto a later version of R than that they were compiled under."] - pub reserved: [::std::os::raw::c_char; 64usize], -} -pub type GEDevDesc = _GEDevDesc; -pub type GEcallback = ::std::option::Option< - unsafe extern "C" fn(arg1: GEevent, arg2: *mut GEDevDesc, arg3: SEXP) -> SEXP, ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct GESystemDesc { - #[doc = "An array of information about each graphics system that\n has registered with the graphics engine.\n This is used to store graphics state for each graphics\n system on each device."] - pub systemSpecific: *mut ::std::os::raw::c_void, - #[doc = "An array of function pointers, one per graphics system that\n has registered with the graphics engine.\n\n system_Callback is called when the graphics engine wants\n to give a graphics system the chance to play with its\n device-specific information (stored in systemSpecific)\n There are two parameters: an \"event\" to tell the graphics\n system why the graphics engine has called this function,\n and the systemSpecific pointer. The graphics engine\n has to pass the systemSpecific pointer because only\n the graphics engine will know what array index to use."] - pub callback: GEcallback, -} -#[repr(C)] -pub struct _GEDevDesc { - #[doc = "Stuff that the devices can see (and modify).\n All detailed in GraphicsDevice.h"] - pub dev: pDevDesc, - #[doc = "toggle for display list status"] - pub displayListOn: Rboolean, - #[doc = "display list"] - pub displayList: SEXP, - #[doc = "A pointer to the end of the display list\nto avoid traversing pairlists"] - pub DLlastElt: SEXP, - #[doc = "The last element of the display list\n just prior to when the display list\n was last initialised"] - pub savedSnapshot: SEXP, - #[doc = "Has the device received any output?"] - pub dirty: Rboolean, - #[doc = "Should a graphics call be stored\n on the display list?\n Set to FALSE by do_recordGraphics,\n do_dotcallgr, and do_Externalgr\n so that nested calls are not\n recorded on the display list"] - pub recordGraphics: Rboolean, - #[doc = "Stuff about the device that only graphics systems see.\n The graphics engine has no idea what is in here.\n Used by graphics systems to store system state per device."] - pub gesd: [*mut GESystemDesc; 24usize], - #[doc = "per-device setting for 'ask' (use NewFrameConfirm)"] - pub ask: Rboolean, - #[doc = "Is a device appending a path ?"] - pub appending: Rboolean, -} -pub type pGEDevDesc = *mut GEDevDesc; -#[doc = "-------------------------------------------------------------------\n\n COLOUR CODE is concerned with the internals of R colour representation\n\n From colors.c, used in par.c, grid/src/gpar.c"] -pub type rcolor = ::std::os::raw::c_uint; -extern "C" { - pub fn R_GE_getVersion() -> ::std::os::raw::c_int; - pub fn R_GE_checkVersionOrDie(version: ::std::os::raw::c_int); - #[doc = "map DevDesc to enclosing GEDevDesc"] - pub fn Rf_desc2GEDesc(dd: pDevDesc) -> pGEDevDesc; - pub fn GEdeviceNumber(arg1: pGEDevDesc) -> ::std::os::raw::c_int; - pub fn GEgetDevice(arg1: ::std::os::raw::c_int) -> pGEDevDesc; - pub fn GEaddDevice(arg1: pGEDevDesc); - pub fn GEaddDevice2(arg1: pGEDevDesc, arg2: *const ::std::os::raw::c_char); - pub fn GEaddDevice2f( - arg1: pGEDevDesc, - arg2: *const ::std::os::raw::c_char, - arg3: *const ::std::os::raw::c_char, - ); - pub fn GEkillDevice(arg1: pGEDevDesc); - pub fn GEcreateDevDesc(dev: pDevDesc) -> pGEDevDesc; - pub fn GEdestroyDevDesc(dd: pGEDevDesc); - pub fn GEsystemState( - dd: pGEDevDesc, - index: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_void; - pub fn GEregisterWithDevice(dd: pGEDevDesc); - pub fn GEregisterSystem(callback: GEcallback, systemRegisterIndex: *mut ::std::os::raw::c_int); - pub fn GEunregisterSystem(registerIndex: ::std::os::raw::c_int); - pub fn GEhandleEvent(event: GEevent, dev: pDevDesc, data: SEXP) -> SEXP; - pub fn GEfromDeviceX(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceX(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceY(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceY(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceWidth(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceWidth(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEfromDeviceHeight(value: f64, to: GEUnit, dd: pGEDevDesc) -> f64; - pub fn GEtoDeviceHeight(value: f64, from: GEUnit, dd: pGEDevDesc) -> f64; - #[doc = "Convert an element of a R colour specification (which might be a\nnumber or a string) into an internal colour specification."] - pub fn Rf_RGBpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> rcolor; - pub fn Rf_RGBpar3(arg1: SEXP, arg2: ::std::os::raw::c_int, arg3: rcolor) -> rcolor; - #[doc = "Convert an internal colour specification to/from a colour name"] - pub fn Rf_col2name(col: rcolor) -> *const ::std::os::raw::c_char; - #[doc = "Convert either a name or a #RRGGBB\\[AA\\] string to internal.\nBecause people were using it, it also converts \"1\", \"2\" ...\nto a colour in the palette, and \"0\" to transparent white."] - pub fn R_GE_str2col(s: *const ::std::os::raw::c_char) -> rcolor; - pub fn GE_LENDpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_lineend; - pub fn GE_LENDget(lend: R_GE_lineend) -> SEXP; - pub fn GE_LJOINpar(value: SEXP, ind: ::std::os::raw::c_int) -> R_GE_linejoin; - pub fn GE_LJOINget(ljoin: R_GE_linejoin) -> SEXP; - pub fn GESetClip(x1: f64, y1: f64, x2: f64, y2: f64, dd: pGEDevDesc); - pub fn GENewPage(gc: pGEcontext, dd: pGEDevDesc); - pub fn GELine(x1: f64, y1: f64, x2: f64, y2: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPolyline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPolygon( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEXspline( - n: ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - s: *mut f64, - open: Rboolean, - repEnds: Rboolean, - draw: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> SEXP; - pub fn GECircle(x: f64, y: f64, radius: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GERect(x0: f64, y0: f64, x1: f64, y1: f64, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEPath( - x: *mut f64, - y: *mut f64, - npoly: ::std::os::raw::c_int, - nper: *mut ::std::os::raw::c_int, - winding: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GERaster( - raster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - x: f64, - y: f64, - width: f64, - height: f64, - angle: f64, - interpolate: Rboolean, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GECap(dd: pGEDevDesc) -> SEXP; - pub fn GEText( - x: f64, - y: f64, - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEMode(mode: ::std::os::raw::c_int, dd: pGEDevDesc); - pub fn GESymbol( - x: f64, - y: f64, - pch: ::std::os::raw::c_int, - size: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEPretty(lo: *mut f64, up: *mut f64, ndiv: *mut ::std::os::raw::c_int); - pub fn GEMetricInfo( - c: ::std::os::raw::c_int, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEStrWidth( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrHeight( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn GEStrMetric( - str_: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEstring_to_pch(pch: SEXP) -> ::std::os::raw::c_int; - #[doc = "-------------------------------------------------------------------\n\n LINE TEXTURE CODE is concerned with the internals of R\n line texture representation."] - pub fn GE_LTYpar(arg1: SEXP, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_uint; - pub fn GE_LTYget(arg1: ::std::os::raw::c_uint) -> SEXP; - #[doc = "Raster operations"] - pub fn R_GE_rasterScale( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterInterpolate( - sraster: *mut ::std::os::raw::c_uint, - sw: ::std::os::raw::c_int, - sh: ::std::os::raw::c_int, - draster: *mut ::std::os::raw::c_uint, - dw: ::std::os::raw::c_int, - dh: ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedSize( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - wnew: *mut ::std::os::raw::c_int, - hnew: *mut ::std::os::raw::c_int, - ); - pub fn R_GE_rasterRotatedOffset( - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - botleft: ::std::os::raw::c_int, - xoff: *mut f64, - yoff: *mut f64, - ); - pub fn R_GE_rasterResizeForRotation( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - newRaster: *mut ::std::os::raw::c_uint, - wnew: ::std::os::raw::c_int, - hnew: ::std::os::raw::c_int, - gc: pGEcontext, - ); - pub fn R_GE_rasterRotate( - sraster: *mut ::std::os::raw::c_uint, - w: ::std::os::raw::c_int, - h: ::std::os::raw::c_int, - angle: f64, - draster: *mut ::std::os::raw::c_uint, - gc: pGEcontext, - perPixelAlpha: Rboolean, - ); - #[doc = "From plotmath.c"] - pub fn GEExpressionWidth(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionHeight(expr: SEXP, gc: pGEcontext, dd: pGEDevDesc) -> f64; - pub fn GEExpressionMetric( - expr: SEXP, - gc: pGEcontext, - ascent: *mut f64, - descent: *mut f64, - width: *mut f64, - dd: pGEDevDesc, - ); - pub fn GEMathText( - x: f64, - y: f64, - expr: SEXP, - xc: f64, - yc: f64, - rot: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - #[doc = "From plot3d.c : used in package clines"] - pub fn GEcontourLines( - x: *mut f64, - nx: ::std::os::raw::c_int, - y: *mut f64, - ny: ::std::os::raw::c_int, - z: *mut f64, - levels: *mut f64, - nl: ::std::os::raw::c_int, - ) -> SEXP; - #[doc = "From vfonts.c"] - pub fn R_GE_VStrWidth( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VStrHeight( - s: *const ::std::os::raw::c_char, - enc: cetype_t, - gc: pGEcontext, - dd: pGEDevDesc, - ) -> f64; - pub fn R_GE_VText( - x: f64, - y: f64, - s: *const ::std::os::raw::c_char, - enc: cetype_t, - x_justify: f64, - y_justify: f64, - rotation: f64, - gc: pGEcontext, - dd: pGEDevDesc, - ); - pub fn GEcurrentDevice() -> pGEDevDesc; - pub fn GEdeviceDirty(dd: pGEDevDesc) -> Rboolean; - pub fn GEdirtyDevice(dd: pGEDevDesc); - pub fn GEcheckState(dd: pGEDevDesc) -> Rboolean; - pub fn GErecording(call: SEXP, dd: pGEDevDesc) -> Rboolean; - pub fn GErecordGraphicOperation(op: SEXP, args: SEXP, dd: pGEDevDesc); - pub fn GEinitDisplayList(dd: pGEDevDesc); - pub fn GEplayDisplayList(dd: pGEDevDesc); - pub fn GEcopyDisplayList(fromDevice: ::std::os::raw::c_int); - pub fn GEcreateSnapshot(dd: pGEDevDesc) -> SEXP; - pub fn GEplaySnapshot(snapshot: SEXP, dd: pGEDevDesc); - pub fn GEonExit(); - pub fn GEnullDevice(); - pub fn Rf_CreateAtVector( - axp: *mut f64, - usr: *const f64, - nint: ::std::os::raw::c_int, - logflag: Rboolean, - ) -> SEXP; - pub fn Rf_GAxisPars( - min: *mut f64, - max: *mut f64, - n: *mut ::std::os::raw::c_int, - log: Rboolean, - axis: ::std::os::raw::c_int, - ); - #[doc = "Patterns - from ../../main/patterns.c"] - pub fn R_GE_isPattern(x: SEXP) -> Rboolean; - pub fn R_GE_patternType(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientX1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY1(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientX2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientY2(pattern: SEXP) -> f64; - pub fn R_GE_linearGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_linearGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_linearGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_linearGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientCX1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR1(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCX2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientCY2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientR2(pattern: SEXP) -> f64; - pub fn R_GE_radialGradientNumStops(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_radialGradientStop(pattern: SEXP, i: ::std::os::raw::c_int) -> f64; - pub fn R_GE_radialGradientColour(pattern: SEXP, i: ::std::os::raw::c_int) -> rcolor; - pub fn R_GE_radialGradientExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_tilingPatternFunction(pattern: SEXP) -> SEXP; - pub fn R_GE_tilingPatternX(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternY(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternWidth(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternHeight(pattern: SEXP) -> f64; - pub fn R_GE_tilingPatternExtend(pattern: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_clipPathFillRule(path: SEXP) -> ::std::os::raw::c_int; - pub fn GEStroke(path: SEXP, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFill(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn GEFillStroke(path: SEXP, rule: ::std::os::raw::c_int, gc: pGEcontext, dd: pGEDevDesc); - pub fn R_GE_maskType(mask: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphInfoGlyphs(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphInfoFonts(glyphInfo: SEXP) -> SEXP; - pub fn R_GE_glyphID(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphX(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphY(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFont(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphSize(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphColour(glyphs: SEXP) -> SEXP; - pub fn R_GE_glyphFontFile(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontIndex(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontFamily(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn R_GE_glyphFontWeight(glyphFont: SEXP) -> f64; - pub fn R_GE_glyphFontStyle(glyphFont: SEXP) -> ::std::os::raw::c_int; - pub fn R_GE_glyphFontPSname(glyphFont: SEXP) -> *const ::std::os::raw::c_char; - pub fn GEGlyph( - n: ::std::os::raw::c_int, - glyphs: *mut ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - font: SEXP, - size: f64, - colour: ::std::os::raw::c_int, - rot: f64, - dd: pGEDevDesc, - ); -} diff --git a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs b/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs deleted file mode 100644 index 53952474..00000000 --- a/src/bindings/bindings-Itermacros-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,9 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const GET_REGION_BUFSIZE: u32 = 512; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs deleted file mode 100644 index a1a941eb..00000000 --- a/src/bindings/bindings-Lapack-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,6494 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type L_fp = ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> *mut ::std::os::raw::c_int, ->; -extern "C" { - #[doc = "The LAPACK version: might change after installation with\nexternal LAPACK.\n\nIn the LAPACK sources in the INSTALL directory."] - pub fn ilaver_( - major: *mut ::std::os::raw::c_int, - minor: *mut ::std::os::raw::c_int, - patch: *mut ::std::os::raw::c_int, - ); - #[doc = "DBDSQR - compute the singular value decomposition (SVD) of a real */\n/* N-by-N (upper or lower) bidiagonal matrix B"] - pub fn dbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ncvt: *const ::std::os::raw::c_int, - nru: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DDISNA - compute the reciprocal condition numbers for the */\n/* eigenvectors of a real symmetric or complex Hermitian matrix or */\n/* for the left or right singular vectors of a general m-by-n */\n/* matrix"] - pub fn ddisna_( - job: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - sep: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBBRD - reduce a real general m-by-n band matrix A to upper */\n/* bidiagonal form B by an orthogonal transformation"] - pub fn dgbbrd_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ncc: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - pt: *mut f64, - ldpt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBCON - estimate the reciprocal of the condition number of a */\n/* real general band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dgbcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBEQU - compute row and column scalings intended to equilibrate */\n/* an M-by-N band matrix A and reduce its condition number"] - pub fn dgbequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is banded, and provides */\n/* error bounds and backward error estimates for the solution"] - pub fn dgbrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGBSV - compute the solution to a real system of linear */\n/* equations A * X = B, where A is a band matrix of order N with */\n/* KL subdiagonals and KU superdiagonals, and X and B are */\n/* N-by-NRHS matrices"] - pub fn dgbsv_( - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B"] - pub fn dgbsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGBTF2 - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRF - compute an LU factorization of a real m-by-n band */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgbtrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGBTRS - solve a system of linear equations\tA * X = B or */\n/* A' * X = B with a general band matrix A using the LU */\n/* factorization computed by DGBTRF"] - pub fn dgbtrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBAK - form the right or left eigenvectors of a real general */\n/* matrix by backward transformation on the computed eigenvectors */\n/* of the balanced matrix output by DGEBAL"] - pub fn dgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - scale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEBAL - balance a general real matrix A"] - pub fn dgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEBD2 - reduce a real general m by n matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebd2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEBRD - reduce a general real M-by-N matrix A to upper or */\n/* lower bidiagonal form B by an orthogonal transformation"] - pub fn dgebrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGECON - estimate the reciprocal of the condition number of a */\n/* general real matrix A, in either the 1-norm or the */\n/* infinity-norm, using the LU factorization computed by DGETRF"] - pub fn dgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGEEQU - compute row and column scalings La_INT *ended to equilibrate */\n/* an M-by-N matrix A and reduce its condition number"] - pub fn dgeequ_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEES - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEESX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues, the real Schur form T, and, optionally, the matrix */\n/* of Schur vectors Z"] - pub fn dgeesx_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const f64, arg2: *const f64) -> ::std::os::raw::c_int, - >, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vs: *mut f64, - ldvs: *const ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGEEV - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEEVX - compute for an N-by-N real nonsymmetric matrix A, the */\n/* eigenvalues and, optionally, the left and/or right eigenvectors"] - pub fn dgeevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - abnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DGEHD2 - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehd2_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEHRD - reduce a real general matrix A to upper Hessenberg */\n/* form H by an orthogonal similarity transformation"] - pub fn dgehrd_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQ2 - compute an LQ factorization of a real m by n matrix A"] - pub fn dgelq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELQF - compute an LQ factorization of a real M-by-N matrix A"] - pub fn dgelqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELS - solve overdetermined or underdetermined real linear */\n/* systems involving an M-by-N matrix A, or its transpose, using a */\n/* QR or LQ factorization of A"] - pub fn dgels_( - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGELSS - compute the minimum norm solution to a real linear */\n/* least squares problem"] - pub fn dgelss_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGELSY - compute the minimum-norm solution to a real linear */\n/* least squares problem"] - pub fn dgelsy_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *const f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQL2 - compute a QL factorization of a real m by n matrix A"] - pub fn dgeql2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQLF - compute a QL factorization of a real M-by-N matrix A"] - pub fn dgeqlf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQP3 - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A using level 3 BLAS"] - pub fn dgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQR2 - compute a QR factorization of a real m by n matrix A"] - pub fn dgeqr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGEQRF - compute a QR factorization of a real M-by-N matrix A"] - pub fn dgeqrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERFS - improve the computed solution to a system of linear */\n/* equations and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dgerfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGERQ2 - compute an RQ factorization of a real m by n matrix A"] - pub fn dgerq2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGERQF - compute an RQ factorization of a real M-by-N matrix A"] - pub fn dgerqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or */\n/* right singular vectors"] - pub fn dgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGESVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B,"] - pub fn dgesvx_( - fact: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - r: *mut f64, - c: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGETF2 - compute an LU factorization of a general m-by-n */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetf2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRF - compute an LU factorization of a general M-by-N */\n/* matrix A using partial pivoting with row La_INT *erchanges"] - pub fn dgetrf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRI - compute the inverse of a matrix using the LU */\n/* factorization computed by DGETRF"] - pub fn dgetri_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGETRS - solve a system of linear equations\tA * X = B or A' * */\n/* X = B with a general N-by-N matrix A using the LU factorization */\n/* computed by DGETRF"] - pub fn dgetrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGBAK - form the right or left eigenvectors of a real */\n/* generalized eigenvalue problem A*x = lambda*B*x, by backward */\n/* transformation on the computed eigenvectors of the balanced */\n/* pair of matrices output by DGGBAL"] - pub fn dggbak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - m: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGBAL - balance a pair of general real matrices (A,B);"] - pub fn dggbal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGGES - compute for a pair of N-by-N real nonsymmetric */\n/* matrices A, B the generalized eigenvalues, the generalized */\n/* real Schur form (S,T), optionally, the left and/or right matrices */\n/* of Schur vectors (VSL and VSR)"] - pub fn dgges_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delztg: ::std::option::Option< - unsafe extern "C" fn( - arg1: *mut f64, - arg2: *mut f64, - arg3: *mut f64, - ) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vsl: *mut f64, - ldvsl: *const ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DGGGLM - solve a general Gauss-Markov linear model (GLM) problem"] - pub fn dggglm_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - d: *mut f64, - x: *mut f64, - y: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGHRD - reduce a pair of real matrices (A,B); to generalized */\n/* upper Hessenberg form using orthogonal transformations, where A */\n/* is a general matrix and B is upper triangular"] - pub fn dgghrd_( - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGGLSE - solve the linear equality-constrained least squares */\n/* (LSE) problem"] - pub fn dgglse_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - d: *mut f64, - x: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGQRF - compute a generalized QR factorization of an N-by-M */\n/* matrix A and an N-by-P matrix B"] - pub fn dggqrf_( - n: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGRQF - compute a generalized RQ factorization of an M-by-N */\n/* matrix A and a P-by-N matrix B"] - pub fn dggrqf_( - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - taua: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - taub: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTCON - estimate the reciprocal of the condition number of a real */\n/* tridiagonal matrix A using the LU factorization as computed by DGTTRF"] - pub fn dgtcon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTRFS - improve the computed solution to a system of linear equations */\n/* when the coefficient matrix is tridiagonal, and provides error bounds */\n/* and backward error estimates for the solution"] - pub fn dgtrfs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTSV - solve the equation\tA*X = B,"] - pub fn dgtsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTSVX - use the LU factorization to compute the solution to a */\n/* real system of linear equations A * X = B or A**T * X = B,"] - pub fn dgtsvx_( - fact: *const ::std::os::raw::c_int, - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - dlf: *mut f64, - df: *mut f64, - duf: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DGTTRF - compute an LU factorization of a real tridiagonal matrix */\n/* A using elimination with partial pivoting and row La_INT *erchanges"] - pub fn dgttrf_( - n: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGTTRS - solve one of the systems of equations A*X = B or */\n/* A'*X = B,"] - pub fn dgttrs_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors H(i); of order n, */\n/* as returned by DSPTRD using packed storage"] - pub fn dopgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DOPMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dopmtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ap: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORG2L - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2l_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORG2R - generate an m by n real matrix Q with orthonormal */\n/* columns,"] - pub fn dorg2r_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGBR - generate one of the real orthogonal matrices Q or */\n/* P**T determined by DGEBRD when reducing a real matrix A to */\n/* bidiagonal form"] - pub fn dorgbr_( - vect: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORGHR - generate a real orthogonal matrix Q which is defined */\n/* as the product of IHI-ILO elementary reflectors of order N, as */\n/* returned by DGEHRD"] - pub fn dorghr_( - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGL2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgl2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGLQ - generate an M-by-N real matrix Q with orthonormal */\n/* rows,"] - pub fn dorglq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQL - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgql_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGQR - generate an M-by-N real matrix Q with orthonormal */\n/* columns,"] - pub fn dorgqr_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGR2 - generate an m by n real matrix Q with orthonormal */\n/* rows,"] - pub fn dorgr2_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGRQ - generate an M-by-N real matrix Q with orthonormal rows"] - pub fn dorgrq_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DORGTR - generate a real orthogonal matrix Q which is defined */\n/* as the product of n-1 elementary reflectors of order const La_INT* n, as */\n/* returned by DSYTRD"] - pub fn dorgtr_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DORM2L - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2l_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORM2R - overwrite the general real m by n matrix C with Q * C */\n/* if SIDE = 'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMBR - VECT = 'Q', DORMBR overwrites the general real M-by-N */\n/* matrix C with SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DORMHR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormhr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORML2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dorml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMLQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQL - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormql_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMQR - overwrite the general real M-by-N matrix C with SIDE = */\n/* 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMR2 - overwrite the general real m by n matrix C with Q * */\n/* C if SIDE = 'L' and TRANS = 'N', or\t Q'* C if SIDE = 'L' and */\n/* TRANS = 'T', or C * Q if SIDE = 'R' and TRANS = 'N', or C * */\n/* Q' if SIDE = 'R' and TRANS = 'T',"] - pub fn dormr2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMRQ - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormrq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DORMTR - overwrite the general real M-by-N matrix C with */\n/* SIDE = 'L' SIDE = 'R' TRANS = 'N'"] - pub fn dormtr_( - side: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPBCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite band matrix */\n/* using the Cholesky factorization A = U**T*U or A = L*L**T */\n/* computed by DPBTRF"] - pub fn dpbcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite band matrix A and */\n/* reduce its condition number (with respect to the two-norm);"] - pub fn dpbequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and banded, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpbrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - afb: *const f64, - ldafb: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSTF - compute a split Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbstf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dpbsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - afb: *mut f64, - ldafb: *const ::std::os::raw::c_int, - equed: *mut ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPBTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite band matrix A"] - pub fn dpbtrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPBTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite band matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPBTRF"] - pub fn dpbtrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite matrix using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPOTRF"] - pub fn dpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A and reduce */\n/* its condition number (with respect to the two-norm);"] - pub fn dpoequ_( - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPORFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite,"] - pub fn dporfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dposvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DPOTF2 - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A"] - pub fn dpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPOTRF"] - pub fn dpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPOTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A using the Cholesky */\n/* factorization A = U**T*U or A = L*L**T computed by DPOTRF"] - pub fn dpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite packed */\n/* matrix using the Cholesky factorization A = U**T*U or A = */\n/* L*L**T computed by DPPTRF"] - pub fn dppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPEQU - compute row and column scalings La_INT *ended to */\n/* equilibrate a symmetric positive definite matrix A in packed */\n/* storage and reduce its condition number (with respect to the */\n/* two-norm);"] - pub fn dppequ_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - s: *mut f64, - scond: *mut f64, - amax: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and packed, and provides error bounds and backward */\n/* error estimates for the solution"] - pub fn dpprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPSVX - use the Cholesky factorization A = U**T*U or A = */\n/* L*L**T to compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dppsvx_( - fact: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - afp: *mut f64, - equed: *const ::std::os::raw::c_char, - s: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DPPTRF - compute the Cholesky factorization of a real */\n/* symmetric positive definite matrix A stored in packed format"] - pub fn dpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRI - compute the inverse of a real symmetric positive */\n/* definite matrix A using the Cholesky factorization A = U**T*U */\n/* or A = L*L**T computed by DPPTRF"] - pub fn dpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPPTRS - solve a system of linear equations A*X = B with a */\n/* symmetric positive definite matrix A in packed storage using */\n/* the Cholesky factorization A = U**T*U or A = L*L**T computed by */\n/* DPPTRF"] - pub fn dpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTCON - compute the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric positive definite tridiagonal */\n/* matrix using the factorization A = L*D*L**T or A = U**T*D*U */\n/* computed by DPTTRF"] - pub fn dptcon_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric positive definite tridiagonal matrix by first */\n/* factoring the matrix using DPTTRF, and then calling DBDSQR to */\n/* compute the singular values of the bidiagonal factor"] - pub fn dpteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DPTRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric positive */\n/* definite and tridiagonal, and provides error bounds and */\n/* backward error estimates for the solution"] - pub fn dptrfs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *const f64, - ef: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSV - compute the solution to a real system of linear */\n/* equations A*X = B, where A is an N-by-N symmetric positive */\n/* definite tridiagonal matrix, and X and B are N-by-NRHS matrices"] - pub fn dptsv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTSVX - use the factorization A = L*D*L**T to compute the */\n/* solution to a real system of linear equations A*X = B, where A */\n/* is an N-by-N symmetric positive definite tridiagonal matrix and */\n/* X and B are N-by-NRHS matrices"] - pub fn dptsvx_( - fact: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - df: *mut f64, - ef: *mut f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRF - compute the factorization of a real symmetric */\n/* positive definite tridiagonal matrix A"] - pub fn dpttrf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DPTTRS - solve a system of linear equations A * X = B with a */\n/* symmetric positive definite tridiagonal matrix A using the */\n/* factorization A = L*D*L**T or A = U**T*D*U computed by DPTTRF"] - pub fn dpttrs_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DRSCL - multiply an n-element real vector x by the real scalar */\n/* 1/a"] - pub fn drscl_( - n: *const ::std::os::raw::c_int, - da: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DSBEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric band matrix A"] - pub fn dsbevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSBGST - reduce a real symmetric-definite banded generalized */\n/* eigenproblem A*x = lambda*B*x to standard form C*y = lambda*y,"] - pub fn dsbgst_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite banded */\n/* eigenproblem, of the form A*x=(lambda);*B*x"] - pub fn dsbgv_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ka: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *const ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSBTRD - reduce a real symmetric band matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsbtrd_( - vect: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric packed matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPEV - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVD - compute all the eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSPEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A in packed storage"] - pub fn dspevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form, using packed storage"] - pub fn dspgst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPGV - compute all the eigenvalues and, optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda)*B*x, A*Bx=(lambda)*x, */\n/* or B*A*x=(lambda)*x"] - pub fn dspgv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSPRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite */\n/* and packed, and provides error bounds and backward error */\n/* estimates for the solution"] - pub fn dsprfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dspsv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPSVX - use the diagonal pivoting factorization A = U*D*U**T */\n/* or A = L*D*L**T to compute the solution to a real system of */\n/* linear equations A * X = B, where A is an N-by-N symmetric */\n/* matrix stored in packed format and X and B are N-by-NRHS */\n/* matrices"] - pub fn dspsvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - afp: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRD - reduce a real symmetric matrix A stored in packed */\n/* form to symmetric tridiagonal form T by an orthogonal */\n/* similarity transformation"] - pub fn dsptrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRF - compute the factorization of a real symmetric matrix */\n/* A stored in packed format using the Bunch-Kaufman diagonal */\n/* pivoting method"] - pub fn dsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A in packed storage using the factorization A = U*D*U**T */\n/* or A = L*D*L**T computed by DSPTRF"] - pub fn dsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSPTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A stored in packed format using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF"] - pub fn dsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEBZ - compute the eigenvalues of a symmetric tridiagonal */\n/* matrix T"] - pub fn dstebz_( - range: *const ::std::os::raw::c_char, - order: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - d: *const f64, - e: *const f64, - m: *mut ::std::os::raw::c_int, - nsplit: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSTEDC - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the divide and conquer */\n/* method"] - pub fn dstedc_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEIN - compute the eigenvectors of a real symmetric */\n/* tridiagonal matrix T corresponding to specified eigenvalues, */\n/* using inverse iteration"] - pub fn dstein_( - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - m: *const ::std::os::raw::c_int, - w: *const f64, - iblock: *const ::std::os::raw::c_int, - isplit: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEQR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a symmetric tridiagonal matrix using the implicit QL or QR */\n/* method"] - pub fn dsteqr_( - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTERF - compute all eigenvalues of a symmetric tridiagonal */\n/* matrix using the Pal-Walker-Kahan variant of the QL or QR */\n/* algorithm"] - pub fn dsterf_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DSTEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix A"] - pub fn dstev_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric tridiagonal matrix"] - pub fn dstevd_( - jobz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSTEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric tridiagonal matrix A"] - pub fn dstevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYCON - estimate the reciprocal of the condition number (in */\n/* the 1-norm); of a real symmetric matrix A using the */\n/* factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF"] - pub fn dsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVD - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYEVX - compute selected eigenvalues and, optionally, */\n/* eigenvectors of a real symmetric matrix A"] - pub fn dsyevx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYEVR - compute all eigenvalues and, optionally, eigenvectors */\n/* of a real symmetric matrix A"] - pub fn dsyevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - vl: *const f64, - vu: *const f64, - il: *const ::std::os::raw::c_int, - iu: *const ::std::os::raw::c_int, - abstol: *const f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DSYGS2 - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygs2_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGST - reduce a real symmetric-definite generalized */\n/* eigenproblem to standard form"] - pub fn dsygst_( - itype: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYGV - compute all the eigenvalues, and optionally, the */\n/* eigenvectors of a real generalized symmetric-definite */\n/* eigenproblem, of the form A*x=(lambda);*B*x, A*Bx=(lambda);*x, */\n/* or B*A*x=(lambda);*x"] - pub fn dsygv_( - itype: *const ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DSYRFS - improve the computed solution to a system of linear */\n/* equations when the coefficient matrix is symmetric indefinite, */\n/* and provides error bounds and backward error estimates for the */\n/* solution"] - pub fn dsyrfs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *const f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSV - compute the solution to a real system of linear */\n/* equations A * X = B,"] - pub fn dsysv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYSVX - use the diagonal pivoting factorization to compute */\n/* the solution to a real system of linear equations A * X = B,"] - pub fn dsysvx_( - fact: *const ::std::os::raw::c_int, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - af: *mut f64, - ldaf: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - rcond: *mut f64, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTD2 - reduce a real symmetric matrix A to symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytd2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTF2 - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRD - reduce a real symmetric matrix A to real symmetric */\n/* tridiagonal form T by an orthogonal similarity transformation"] - pub fn dsytrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRF - compute the factorization of a real symmetric matrix */\n/* A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRI - compute the inverse of a real symmetric indefinite */\n/* matrix A using the factorization A = U*D*U**T or A = L*D*L**T */\n/* computed by DSYTRF"] - pub fn dsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DSYTRS - solve a system of linear equations A*X = B with a */\n/* real symmetric matrix A using the factorization A = U*D*U**T or */\n/* A = L*D*L**T computed by DSYTRF"] - pub fn dsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTBCON - estimate the reciprocal of the condition number of a */\n/* triangular band matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtbcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* band coefficient matrix"] - pub fn dtbrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTBTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtbtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTGEVC - compute some or all of the right and/or left */\n/* generalized eigenvectors of a pair of real upper triangular */\n/* matrices (A,B);"] - pub fn dtgevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTGSJA - compute the generalized singular value decomposition */\n/* (GSVD); of two real upper triangular (or trapezoidal); matrices */\n/* A and B"] - pub fn dtgsja_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - tola: *const f64, - tolb: *const f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - ncycle: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPCON - estimate the reciprocal of the condition number of a */\n/* packed triangular matrix A, in either the 1-norm or the */\n/* infinity-norm"] - pub fn dtpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* packed coefficient matrix"] - pub fn dtprfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTPTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A stored in packed format"] - pub fn dtptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTPTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B,"] - pub fn dtptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRCON - estimate the reciprocal of the condition number of a */\n/* triangular matrix A, in either the 1-norm or the infinity-norm"] - pub fn dtrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTREVC - compute some or all of the right and/or left */\n/* eigenvectors of a real upper quasi-triangular matrix T"] - pub fn dtrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTREXC - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that the diagonal block of T with row index */\n/* IFST is moved to row ILST"] - pub fn dtrexc_( - compq: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ILST: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DTRRFS - provide error bounds and backward error estimates for */\n/* the solution to a system of linear equations with a triangular */\n/* coefficient matrix"] - pub fn dtrrfs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - ferr: *mut f64, - berr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTRSEN - reorder the real Schur factorization of a real matrix */\n/* A = Q*T*Q**T, so that a selected cluster of eigenvalues appears */\n/* in the leading diagonal blocks of the upper quasi-triangular */\n/* matrix T,"] - pub fn dtrsen_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - m: *mut ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSNA - estimate reciprocal condition numbers for specified */\n/* eigenvalues and/or right eigenvectors of a real upper */\n/* quasi-triangular matrix T (or of any matrix Q*T*Q**T with Q */\n/* orthogonal);"] - pub fn dtrsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - vl: *const f64, - ldvl: *const ::std::os::raw::c_int, - vr: *const f64, - ldvr: *const ::std::os::raw::c_int, - s: *mut f64, - sep: *mut f64, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRSYL - solve the real Sylvester matrix equation"] - pub fn dtrsyl_( - trana: *const ::std::os::raw::c_char, - tranb: *const ::std::os::raw::c_char, - isgn: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTI2 - compute the inverse of a real upper or lower */\n/* triangular matrix"] - pub fn dtrti2_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRI - compute the inverse of a real upper or lower */\n/* triangular matrix A"] - pub fn dtrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DTRTRS - solve a triangular system of the form A * X = B or */\n/* A**T * X = B"] - pub fn dtrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHGEQZ - implement a single-/double-shift version of the QZ */\n/* method for finding the generalized eigenvalues */\n/* w(j);=(ALPHAR(j); + i*ALPHAI(j););/BETAR(j); of the equation */\n/* det( A - w(i); B ); = 0 In addition, the pair A,B may be */\n/* reduced to generalized Schur form"] - pub fn dhgeqz_( - job: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ILO: *const ::std::os::raw::c_int, - IHI: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEIN - use inverse iteration to find specified right and/or */\n/* left eigenvectors of a real upper Hessenberg matrix H"] - pub fn dhsein_( - side: *const ::std::os::raw::c_char, - eigsrc: *const ::std::os::raw::c_char, - initv: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - mm: *const ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - ifaill: *mut ::std::os::raw::c_int, - ifailr: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DHSEQR - compute the eigenvalues of a real upper Hessenberg */\n/* matrix H and, optionally, the matrices T and Z from the Schur */\n/* decomposition H = Z T Z**T, where T is an upper */\n/* quasi-triangular matrix (the Schur form);, and Z is the */\n/* orthogonal matrix of Schur vectors"] - pub fn dhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - h: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLABAD - take as input the values computed by SLAMCH for */\n/* underflow and overflow, and returns the square root of each of */\n/* these values if the log of LARGE is sufficiently large"] - pub fn dlabad_(small: *mut f64, large: *mut f64); - #[doc = "DLABRD - reduce the first NB rows and columns of a real */\n/* general m by n matrix A to upper or lower bidiagonal form by an */\n/* orthogonal transformation Q' * A * P, and returns the matrices */\n/* X and Y which are needed to apply the transformation to the */\n/* unreduced part of A"] - pub fn dlabrd_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut f64, - taup: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLACON - estimate the 1-norm of a square, real matrix A"] - pub fn dlacon_( - n: *const ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - isgn: *mut ::std::os::raw::c_int, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - ); - #[doc = "DLACPY - copy all or part of a two-dimensional matrix A to */\n/* another matrix B"] - pub fn dlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLADIV - perform complex division in real arithmetic"] - pub fn dladiv_( - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - p: *mut f64, - q: *mut f64, - ); - #[doc = "DLAE2 - compute the eigenvalues of a 2-by-2 symmetric matrix \\[ A B \\] */\n/*\t\t\t\t\t\t\t\t\\[ B C \\]"] - pub fn dlae2_(a: *const f64, b: *const f64, c: *const f64, rt1: *mut f64, rt2: *mut f64); - #[doc = "DLAEBZ - contain the iteration loops which compute and use the */\n/* function N(w);, which is the count of eigenvalues of a */\n/* symmetric tridiagonal matrix T less than or equal to its */\n/* argument w"] - pub fn dlaebz_( - ijob: *const ::std::os::raw::c_int, - nitmax: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - mmax: *const ::std::os::raw::c_int, - minp: *const ::std::os::raw::c_int, - nbmin: *const ::std::os::raw::c_int, - abstol: *const f64, - reltol: *const f64, - pivmin: *const f64, - d: *mut f64, - e: *mut f64, - e2: *mut f64, - nval: *mut ::std::os::raw::c_int, - ab: *mut f64, - c: *mut f64, - mout: *mut ::std::os::raw::c_int, - nab: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED0 - compute all eigenvalues and corresponding */\n/* eigenvectors of a symmetric tridiagonal matrix using the divide */\n/* and conquer method"] - pub fn dlaed0_( - icompq: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - qstore: *mut f64, - ldqs: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED1 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED2 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed2_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *mut f64, - z: *mut f64, - dlamda: *mut f64, - w: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - indxc: *mut ::std::os::raw::c_int, - indxp: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED3 - find the roots of the secular equation, as defined by */\n/* the values in double* d, W, and RHO, between KSTART and KSTOP"] - pub fn dlaed3_( - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *mut f64, - q2: *mut f64, - indx: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - w: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED4 - subroutine computes the I-th updated eigenvalue of a */\n/* symmetric rank-one modification to a diagonal matrix whose */\n/* elements are given in the array d, and that\t D(i); < D(j); for */\n/* i < j and that RHO > 0"] - pub fn dlaed4_( - n: *const ::std::os::raw::c_int, - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *const f64, - rho: *const f64, - dlam: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED5 - subroutine computes the I-th eigenvalue of a */\n/* symmetric rank-one modification of a 2-by-2 diagonal matrix */\n/* diag( D ); + RHO The diagonal elements in the array D are */\n/* assumed to satisfy\tD(i); < D(j); for i < j"] - pub fn dlaed5_( - i: *const ::std::os::raw::c_int, - d: *const f64, - z: *const f64, - delta: *mut f64, - rho: *const f64, - dlam: *mut f64, - ); - #[doc = "DLAED6 - compute the positive or negative root (closest to the */\n/* origin); of\tz(1); z(2); z(3); f(x); = rho + --------- + */\n/* ---------- + --------- d(1);-x d(2);-x d(3);-x It is assumed */\n/* that\t if ORGATI = .true"] - pub fn dlaed6_( - kniter: *const ::std::os::raw::c_int, - orgati: *const ::std::os::raw::c_int, - rho: *const f64, - d: *const f64, - z: *const f64, - finit: *const f64, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED7 - compute the updated eigensystem of a diagonal matrix */\n/* after modification by a rank-one symmetric matrix"] - pub fn dlaed7_( - icompq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *mut ::std::os::raw::c_int, - rho: *const f64, - cutpnt: *const ::std::os::raw::c_int, - qstore: *mut f64, - qptr: *mut f64, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED8 - merge the two sets of eigenvalues together La_INT *o a */\n/* single sorted set"] - pub fn dlaed8_( - icompq: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - qsiz: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - indxq: *const ::std::os::raw::c_int, - rho: *mut f64, - cutpnt: *const ::std::os::raw::c_int, - z: *const f64, - dlamda: *mut f64, - q2: *mut f64, - ldq2: *const ::std::os::raw::c_int, - w: *mut f64, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - indxp: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAED9 - find the roots of the secular equation, as defined by */\n/* the values in double* d, Z, and RHO, between KSTART and KSTOP"] - pub fn dlaed9_( - k: *const ::std::os::raw::c_int, - kstart: *const ::std::os::raw::c_int, - kstop: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - rho: *const f64, - dlamda: *const f64, - w: *const f64, - s: *mut f64, - lds: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEDA - compute the Z vector corresponding to the merge step */\n/* in the CURLVLth step of the merge process with TLVLS steps for */\n/* the CURPBMth problem"] - pub fn dlaeda_( - n: *const ::std::os::raw::c_int, - tlvls: *const ::std::os::raw::c_int, - curlvl: *const ::std::os::raw::c_int, - curpbm: *const ::std::os::raw::c_int, - prmptr: *const ::std::os::raw::c_int, - perm: *const ::std::os::raw::c_int, - givptr: *const ::std::os::raw::c_int, - givcol: *const ::std::os::raw::c_int, - givnum: *const f64, - q: *const f64, - qptr: *const ::std::os::raw::c_int, - z: *mut f64, - ztemp: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEIN - use inverse iteration to find a right or left */\n/* eigenvector corresponding to the eigenvalue (WR,WI); of a real */\n/* upper Hessenberg matrix H"] - pub fn dlaein_( - rightv: *const ::std::os::raw::c_int, - noinit: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - h: *const f64, - ldh: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - vr: *mut f64, - vi: *mut f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - work: *mut f64, - eps3: *const f64, - smlnum: *const f64, - bignum: *const f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAEV2 - compute the eigendecomposition of a 2-by-2 symmetric */\n/* matrix \\[ A B \\] \\[ B C \\]"] - pub fn dlaev2_( - a: *const f64, - b: *const f64, - c: *const f64, - rt1: *mut f64, - rt2: *mut f64, - cs1: *mut f64, - sn1: *mut f64, - ); - #[doc = "DLAEXC - swap adjacent diagonal blocks T11 and T22 of order 1 */\n/* or 2 in an upper quasi-triangular matrix T by an orthogonal */\n/* similarity transformation"] - pub fn dlaexc_( - wantq: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - j1: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAG2 - compute the eigenvalues of a 2 x 2 generalized */\n/* eigenvalue problem A - w B, with scaling as necessary to aextern void */\n/* over-/underflow"] - pub fn dlag2_( - a: *const f64, - lda: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - safmin: *const f64, - scale1: *mut f64, - scale2: *mut f64, - wr1: *mut f64, - wr2: *mut f64, - wi: *mut f64, - ); - #[doc = "DLAGS2 - compute 2-by-2 orthogonal matrices U, V and Q, such */\n/* that if ( UPPER ); then U'*A*Q = U'*( A1 A2 );*Q = ( x 0 ); */\n/* ( 0 A3 ); ( x x ); and V'*B*Q = V'*( B1 B2 );*Q = ( x 0 );\t( */\n/* 0 B3 ); ( x x ); or if ( .NOT.UPPER ); then\t U'*A*Q = U'*( A1 */\n/* 0 );*Q = ( x x ); ( A2 A3 ); ( 0 x ); and V'*B*Q = V'*( B1 0 */\n/* );*Q = ( x x ); ( B2 B3 ); ( 0 x );\t The rows of the */\n/* transformed A and B are parallel, where U = ( CSU SNU );, V = */\n/* ( CSV SNV );, Q = ( CSQ SNQ ); ( -SNU CSU ); ( -SNV CSV ); ( */\n/* -SNQ CSQ );\tZ' denotes the transpose of Z"] - pub fn dlags2_( - upper: *const ::std::os::raw::c_int, - a1: *const f64, - a2: *const f64, - a3: *const f64, - b1: *const f64, - b2: *const f64, - b3: *const f64, - csu: *mut f64, - snu: *mut f64, - csv: *mut f64, - snv: *mut f64, - csq: *mut f64, - snq: *mut f64, - ); - #[doc = "DLAGTF - factorize the matrix (T - lambda*I);, where T is an n */\n/* by n tridiagonal matrix and lambda is a scalar, as\tT - */\n/* lambda*I = PLU,"] - pub fn dlagtf_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lambda: *const f64, - b: *mut f64, - c: *mut f64, - tol: *const f64, - d: *mut f64, - in_: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAGTM - perform a matrix-vector product of the form\t B := */\n/* alpha * A * X + beta * B where A is a tridiagonal matrix of */\n/* order N, B and X are N by NRHS matrices, and alpha and beta are */\n/* real scalars, each of which may be 0., 1., or -1"] - pub fn dlagtm_( - trans: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - alpha: *const f64, - dl: *const f64, - d: *const f64, - du: *const f64, - x: *const f64, - ldx: *const ::std::os::raw::c_int, - beta: *const f64, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAGTS - may be used to solve one of the systems of equations */\n/* (T - lambda*I);*x = y or (T - lambda*I);'*x = y,"] - pub fn dlagts_( - job: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - b: *const f64, - c: *const f64, - d: *const f64, - in_: *const ::std::os::raw::c_int, - y: *mut f64, - tol: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHQR - an auxiliary routine called by DHSEQR to update the */\n/* eigenvalues and Schur decomposition already computed by DHSEQR, */\n/* by dealing with the Hessenberg submatrix in rows and columns */\n/* ILO to IHI"] - pub fn dlahqr_( - wantt: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - ilo: *const ::std::os::raw::c_int, - ihi: *const ::std::os::raw::c_int, - H: *mut f64, - ldh: *const ::std::os::raw::c_int, - wr: *mut f64, - wi: *mut f64, - iloz: *const ::std::os::raw::c_int, - ihiz: *const ::std::os::raw::c_int, - z: *mut f64, - ldz: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAIC1 - apply one step of incremental condition estimation in */\n/* its simplest version"] - pub fn dlaic1_( - job: *const ::std::os::raw::c_int, - j: *const ::std::os::raw::c_int, - x: *const f64, - sest: *const f64, - w: *const f64, - gamma: *const f64, - sestpr: *mut f64, - s: *mut f64, - c: *mut f64, - ); - #[doc = "DLALN2 - solve a system of the form (ca A - w D ); X = s B or */\n/* (ca A' - w D); X = s B with possible scaling (\"s\"); and */\n/* perturbation of A"] - pub fn dlaln2_( - ltrans: *const ::std::os::raw::c_int, - na: *const ::std::os::raw::c_int, - nw: *const ::std::os::raw::c_int, - smin: *const f64, - ca: *const f64, - a: *const f64, - lda: *const ::std::os::raw::c_int, - d1: *const f64, - d2: *const f64, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - wr: *const f64, - wi: *const f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - scale: *mut f64, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAMCH - determine double precision machine parameters"] - pub fn dlamch_(cmach: *const ::std::os::raw::c_char, arg1: usize) -> f64; - #[doc = "DLAMRG - will create a permutation list which will merge the */\n/* elements of A (which is composed of two independently sorted */\n/* sets); La_INT *o a single set which is sorted in ascending order"] - pub fn dlamrg_( - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - a: *const f64, - dtrd1: *const ::std::os::raw::c_int, - dtrd2: *const ::std::os::raw::c_int, - index: *mut ::std::os::raw::c_int, - ); - #[doc = "DLANGB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n band matrix A, with kl sub-diagonals and ku */\n/* super-diagonals"] - pub fn dlangb_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGE - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real matrix A"] - pub fn dlange_( - norm: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANGT - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real tridiagonal matrix A"] - pub fn dlangt_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - dl: *const f64, - d: *const f64, - du: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANHS - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a Hessenberg matrix A"] - pub fn dlanhs_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n symmetric band matrix A, with k */\n/* super-diagonals"] - pub fn dlansb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANSP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A, supplied in packed form"] - pub fn dlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANST - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric tridiagonal matrix A"] - pub fn dlanst_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *const f64, - e: *const f64, - arg1: usize, - ) -> f64; - #[doc = "DLANSY - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a real symmetric matrix A"] - pub fn dlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "DLANTB - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of an n by n triangular band matrix A, with ( k + 1 ) diagonals"] - pub fn dlantb_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTP - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a triangular matrix A, supplied in packed form"] - pub fn dlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANTR - return the value of the one norm, or the Frobenius */\n/* norm, or the infinity norm, or the element of largest absolute */\n/* value of a trapezoidal or triangular matrix A"] - pub fn dlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DLANV2 - compute the Schur factorization of a real 2-by-2 */\n/* nonsymmetric matrix in standard form"] - pub fn dlanv2_( - a: *mut f64, - b: *mut f64, - c: *mut f64, - d: *mut f64, - rt1r: *mut f64, - rt1i: *mut f64, - rt2r: *mut f64, - rt2i: *mut f64, - cs: *mut f64, - sn: *mut f64, - ); - #[doc = "DLAPLL - two column vectors X and Y, let A = ( X Y );"] - pub fn dlapll_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - ssmin: *mut f64, - ); - #[doc = "DLAPMT - rearrange the columns of the M by N matrix X as */\n/* specified by the permutation K(1);,K(2);,...,K(N); of the */\n/* La_INT *egers 1,...,N"] - pub fn dlapmt_( - forwrd: *const ::std::os::raw::c_int, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - ); - #[doc = "DLAPY2 - return sqrt(x**2+y**2);, taking care not to cause */\n/* unnecessary overflow"] - pub fn dlapy2_(x: *const f64, y: *const f64) -> f64; - #[doc = "DLAPY3 - return sqrt(x**2+y**2+z**2);, taking care not to */\n/* cause unnecessary overflow"] - pub fn dlapy3_(x: *const f64, y: *const f64, z: *const f64) -> f64; - #[doc = "DLAQGB - equilibrate a general M by N band matrix A with KL */\n/* subdiagonals and KU superdiagonals using the row and scaling */\n/* factors in the vectors R and C"] - pub fn dlaqgb_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQGE - equilibrate a general M by N matrix A using the row */\n/* and scaling factors in the vectors R and C"] - pub fn dlaqge_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - r: *mut f64, - c: *mut f64, - rowcnd: *mut f64, - colcnd: *mut f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - ); - #[doc = "DLAQSB - equilibrate a symmetric band matrix A using the */\n/* scaling factors in the vector S"] - pub fn dlaqsb_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *mut f64, - ldab: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ); - #[doc = "DLAQSP - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsp_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut f64, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQSY - equilibrate a symmetric matrix A using the scaling */\n/* factors in the vector S"] - pub fn dlaqsy_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *const f64, - scond: *const f64, - amax: *const f64, - equed: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAQTR - solve the real quasi-triangular system */\n/* op(T) * p = scale*c"] - pub fn dlaqtr_( - ltran: *const ::std::os::raw::c_int, - lreal: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - b: *const f64, - w: *const f64, - scale: *mut f64, - x: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAR2V - apply a vector of real plane rotations from both */\n/* sides to a sequence of 2-by-2 real symmetric matrices, defined */\n/* by the elements of the vectors x, y and z"] - pub fn dlar2v_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - y: *mut f64, - z: *mut f64, - incx: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARF - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarf_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARFB - apply a real block reflector H or its transpose H' */\n/* to a real m by n matrix C, from either the left or the right"] - pub fn dlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *const f64, - ldv: *const ::std::os::raw::c_int, - t: *const f64, - ldt: *const ::std::os::raw::c_int, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLARFG - generate a real elementary reflector H of order n, */\n/* such that H * ( alpha ) = ( beta ), H' * H = I"] - pub fn dlarfg_( - n: *const ::std::os::raw::c_int, - alpha: *const f64, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - tau: *mut f64, - ); - #[doc = "DLARFT - form the triangular factor T of a real block */\n/* reflector H of order n, which is defined as a product of k */\n/* elementary reflectors"] - pub fn dlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - tau: *const f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DLARFX - apply a real elementary reflector H to a real m by n */\n/* matrix C, from either the left or the right"] - pub fn dlarfx_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - tau: *const f64, - c: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - #[doc = "DLARGV - generate a vector of real plane rotations, determined */\n/* by elements of the real vectors x and y"] - pub fn dlargv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *mut f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARNV - return a vector of n random real numbers from a */\n/* uniform or normal distribution"] - pub fn dlarnv_( - idist: *const ::std::os::raw::c_int, - iseed: *mut ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - x: *mut f64, - ); - #[doc = "DLARTG - generate a plane rotation so that\t\\[ CS SN \\]"] - pub fn dlartg_(f: *const f64, g: *const f64, cs: *mut f64, sn: *mut f64, r: *mut f64); - #[doc = "DLARTV - apply a vector of real plane rotations to elements of */\n/* the real vectors x and y"] - pub fn dlartv_( - n: *const ::std::os::raw::c_int, - x: *mut f64, - incx: *const ::std::os::raw::c_int, - y: *mut f64, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - incc: *const ::std::os::raw::c_int, - ); - #[doc = "DLARUV - return a vector of n random real numbers from a */\n/* uniform (0,1);"] - pub fn dlaruv_(iseed: *mut ::std::os::raw::c_int, n: *const ::std::os::raw::c_int, x: *mut f64); - #[doc = "DLAS2 - compute the singular values of the 2-by-2 matrix */\n/* \\[ F G \\] \\[ 0 H \\]"] - pub fn dlas2_(f: *const f64, g: *const f64, h: *const f64, ssmin: *mut f64, ssmax: *mut f64); - #[doc = "DLASCL - multiply the M by N real matrix A by the real scalar */\n/* CTO/CFROM"] - pub fn dlascl_( - type_: *const ::std::os::raw::c_char, - kl: *const ::std::os::raw::c_int, - ku: *const ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASET - initialize an m-by-n matrix A to BETA on the diagonal */\n/* and ALPHA on the offdiagonals"] - pub fn dlaset_( - uplo: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASQ1 - DLASQ1 computes the singular values of a real N-by-N */\n/* bidiagonal matrix with diagonal D and off-diagonal E"] - pub fn dlasq1_( - n: *const ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ2 - DLASQ2 computes the singular values of a real N-by-N */\n/* unreduced bidiagonal matrix with squared diagonal elements in */\n/* Q and squared off-diagonal elements in E"] - pub fn dlasq2_( - m: *const ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - sup: *mut f64, - kend: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASQ3 - DLASQ3 is the workhorse of the whole bidiagonal SVD */\n/* algorithm"] - pub fn dlasq3_( - n: *mut ::std::os::raw::c_int, - q: *mut f64, - e: *mut f64, - qq: *mut f64, - ee: *mut f64, - sup: *mut f64, - sigma: *mut f64, - kend: *mut ::std::os::raw::c_int, - off: *mut ::std::os::raw::c_int, - iphase: *mut ::std::os::raw::c_int, - iconv: *const ::std::os::raw::c_int, - eps: *const f64, - tol2: *const f64, - small2: *const f64, - ); - #[doc = "DLASQ4 - DLASQ4 estimates TAU, the smallest eigenvalue of a */\n/* matrix"] - pub fn dlasq4_( - n: *const ::std::os::raw::c_int, - q: *const f64, - e: *const f64, - tau: *mut f64, - sup: *mut f64, - ); - #[doc = "DLASR - perform the transformation\tA := P*A, when SIDE = 'L' */\n/* or 'l' ( Left-hand side );\tA := A*P', when SIDE = 'R' or 'r' */\n/* ( Right-hand side );\t where A is an m by n real matrix and P is */\n/* an orthogonal matrix,"] - pub fn dlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DLASRT - the numbers in D in increasing order (if ID = 'I'); */\n/* or in decreasing order (if ID = 'D' );"] - pub fn dlasrt_( - id: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - d: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLASSQ - return the values scl and smsq such that ( scl**2 */\n/* );*smsq = x( 1 );**2 +...+ x( n );**2 + ( scale**2 );*sumsq,"] - pub fn dlassq_( - n: *const ::std::os::raw::c_int, - x: *const f64, - incx: *const ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - #[doc = "DLASV2 - compute the singular value decomposition of a 2-by-2 */\n/* triangular matrix \\[ F G \\] \\[ 0 H \\]"] - pub fn dlasv2_( - f: *const f64, - g: *const f64, - h: *const f64, - ssmin: *mut f64, - ssmax: *mut f64, - snr: *mut f64, - csr: *mut f64, - snl: *mut f64, - csl: *mut f64, - ); - #[doc = "DLASWP - perform a series of row La_INT *erchanges on the matrix A"] - pub fn dlaswp_( - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - k1: *const ::std::os::raw::c_int, - k2: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - incx: *const ::std::os::raw::c_int, - ); - #[doc = "DLASY2 - solve for the N1 by N2 matrix double* x, 1 <= N1,N2 <= 2, in */\n/* op(TL);*X + ISGN*X*op(TR); = SCALE*B,"] - pub fn dlasy2_( - ltranl: *const ::std::os::raw::c_int, - ltranr: *const ::std::os::raw::c_int, - isgn: *const ::std::os::raw::c_int, - n1: *const ::std::os::raw::c_int, - n2: *const ::std::os::raw::c_int, - tl: *const f64, - ldtl: *const ::std::os::raw::c_int, - tr: *const f64, - ldtr: *const ::std::os::raw::c_int, - b: *const f64, - ldb: *const ::std::os::raw::c_int, - scale: *mut f64, - x: *mut f64, - ldx: *const ::std::os::raw::c_int, - xnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLASYF - compute a partial factorization of a real symmetric */\n/* matrix A using the Bunch-Kaufman diagonal pivoting method"] - pub fn dlasyf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - kb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATBS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular band matrix"] - pub fn dlatbs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - kd: *const ::std::os::raw::c_int, - ab: *const f64, - ldab: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATPS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow, where A is an */\n/* upper or lower triangular matrix stored in packed form"] - pub fn dlatps_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const f64, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLATRD - reduce NB rows and columns of a real symmetric matrix */\n/* A to symmetric tridiagonal form by an orthogonal similarity */\n/* transformation Q' * A * Q, and returns the matrices V and W */\n/* which are needed to apply the transformation to the unreduced */\n/* part of A"] - pub fn dlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - e: *mut f64, - tau: *mut f64, - w: *mut f64, - ldw: *const ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLATRS - solve one of the triangular systems\t A *x = s*b or */\n/* A'*x = s*b with scaling to prevent overflow"] - pub fn dlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const f64, - lda: *const ::std::os::raw::c_int, - x: *mut f64, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - #[doc = "DLAUU2 - compute the product U * U' or L' * const La_INT* l, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauu2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "DLAUUM - compute the product U * U' or L' * L, where the */\n/* triangular factor U or L is stored in the upper or lower */\n/* triangular part of the array A"] - pub fn dlauum_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "IZMAX1 finds the index of the element whose real part has maximum\n absolute value. Returns Fortran INTEGER."] - pub fn izmax1_( - n: *const ::std::os::raw::c_int, - cx: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_int; - #[doc = "ZGECON estimates the reciprocal of the condition number of a general\n complex matrix A, in either the 1-norm or the infinity-norm, using\n the LU factorization computed by ZGETRF."] - pub fn zgecon_( - norm: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZGESV computes the solution to a complex system of linear equations"] - pub fn zgesv_( - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGEQP3 computes a QR factorization with column pivoting"] - pub fn zgeqp3_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZUNMQR applies Q or Q**H from the Left or Right"] - pub fn zunmqr_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRTRS solves triangular systems"] - pub fn ztrtrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesvd_( - jobu: *const ::std::os::raw::c_char, - jobvt: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGHEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a Hermitian matrix A"] - pub fn zheev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - w: *mut f64, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZGGEEV - compute all eigenvalues and, optionally, eigenvectors */\n/* of a complex non-symmetric matrix A"] - pub fn zgeev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - wr: *mut Rcomplex, - vl: *mut Rcomplex, - ldvl: *const ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZLACN2 estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 2.7.0"] - pub fn zlacn2_( - n: *const ::std::os::raw::c_int, - v: *mut Rcomplex, - x: *mut Rcomplex, - est: *mut f64, - kase: *mut ::std::os::raw::c_int, - isave: *mut ::std::os::raw::c_int, - ); - #[doc = "ZLANSP estimates the 1-norm of a square, complex matrix A.\n Reverse communication is used for evaluating matrix-vector products.\n Added in R 4.4.0"] - pub fn zlansp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlansy_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - #[doc = "ZLANTR - return the value of the one norm, or the Frobenius norm,\n or the infinity norm, or the element of largest absolute value of\n a trapezoidal or triangular matrix A.\n Added in R 2.7.0"] - pub fn zlantr_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - #[doc = "DZSUM1 - take the sum of the absolute values of a complex\n vector and returns a double precision result\n Added in R 2.15.2"] - pub fn dzsum1_( - n: *const ::std::os::raw::c_int, - CX: *mut Rcomplex, - incx: *const ::std::os::raw::c_int, - ) -> f64; - #[doc = "Added in R 3.6.2, 4.4.0 -- now alphabetically"] - pub fn zpotrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrf2_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpotrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zppcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *const f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "* Other double precision and double complex Lapack routines provided by libRlapack.\n*\nThese are extracted from the CLAPACK headers.\n*/"] - pub fn dbdsdc_( - uplo: *const ::std::os::raw::c_char, - compq: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - q: *mut f64, - iq: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dgesc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - rhs: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - scale: *mut f64, - ); - #[doc = "DGESDD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors. If singular vectors are desired, it uses a */\n/* divide-and-conquer algorithm."] - pub fn dgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dgetc2_( - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggesx_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - delctg: L_fp, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dggev_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dggevx_( - balanc: *const ::std::os::raw::c_char, - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - sense: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - lscale: *mut f64, - rscale: *mut f64, - abnrm: *mut f64, - bbnrm: *mut f64, - rconde: *mut f64, - rcondv: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dgtts2_( - itrans: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - dl: *mut f64, - d: *mut f64, - du: *mut f64, - du2: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dlagv2_( - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - csl: *mut f64, - snl: *mut f64, - csr: *mut f64, - snr: *mut f64, - ); - pub fn dlals0_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsa_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - bx: *mut f64, - ldbx: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlalsd_( - uplo: *const ::std::os::raw::c_char, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlamc1_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - ieee1: *mut *mut ::std::os::raw::c_int, - ); - pub fn dlamc2_( - beta: *mut ::std::os::raw::c_int, - t: *mut ::std::os::raw::c_int, - rnd: *mut ::std::os::raw::c_int, - eps: *mut f64, - emin: *mut ::std::os::raw::c_int, - rmin: *mut f64, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlamc3_(a: *mut f64, b: *mut f64) -> f64; - pub fn dlamc4_( - emin: *mut ::std::os::raw::c_int, - start: *mut f64, - base: *mut ::std::os::raw::c_int, - ); - pub fn dlamc5_( - beta: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - emin: *mut ::std::os::raw::c_int, - ieee: *mut ::std::os::raw::c_int, - emax: *mut ::std::os::raw::c_int, - rmax: *mut f64, - ); - pub fn dlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - work: *mut f64, - ); - pub fn dlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut f64, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn dlar1v_( - n: *mut ::std::os::raw::c_int, - b1: *mut ::std::os::raw::c_int, - bn: *mut ::std::os::raw::c_int, - sigma: *mut f64, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - gersch: *mut f64, - z: *mut f64, - ztz: *mut f64, - mingma: *mut f64, - r: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - ); - pub fn dlarrb_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - sigma: *mut f64, - reltol: *mut f64, - w: *mut f64, - wgap: *mut f64, - werr: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarre_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tol: *mut f64, - nsplit: *mut ::std::os::raw::c_int, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - woff: *mut f64, - gersch: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrf_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - ld: *mut f64, - lld: *mut f64, - ifirst: *mut ::std::os::raw::c_int, - ilast: *mut ::std::os::raw::c_int, - w: *mut f64, - dplus: *mut f64, - lplus: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarrv_( - n: *mut ::std::os::raw::c_int, - d: *mut f64, - l: *mut f64, - isplit: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - iblock: *mut ::std::os::raw::c_int, - gersch: *mut f64, - tol: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlarz_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - incv: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dlarzb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn dlarzt_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dlasd0_( - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd1_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd2_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - alpha: *mut f64, - beta: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idx: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - coltyp: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd3_( - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut *mut ::std::os::raw::c_int, - d: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - u2: *mut f64, - ldu2: *mut ::std::os::raw::c_int, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - vt2: *mut f64, - ldvt2: *mut ::std::os::raw::c_int, - idxc: *mut ::std::os::raw::c_int, - ctot: *mut ::std::os::raw::c_int, - z: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd4_( - n: *mut ::std::os::raw::c_int, - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - sigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd5_( - i: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - delta: *mut f64, - rho: *mut f64, - dsigma: *mut f64, - work: *mut f64, - ); - pub fn dlasd6_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - vf: *mut f64, - vl: *mut f64, - alpha: *mut f64, - beta: *mut f64, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - poles: *mut f64, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - k: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd7_( - icompq: *mut ::std::os::raw::c_int, - nl: *mut ::std::os::raw::c_int, - nr: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - zw: *mut f64, - vf: *mut f64, - vfw: *mut f64, - vl: *mut f64, - vlw: *mut f64, - alpha: *mut f64, - beta: *mut f64, - dsigma: *mut f64, - idx: *mut ::std::os::raw::c_int, - idxp: *mut ::std::os::raw::c_int, - idxq: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - givnum: *mut f64, - ldgnum: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd8_( - icompq: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - lddifr: *mut ::std::os::raw::c_int, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasd9_( - icompq: *mut ::std::os::raw::c_int, - ldu: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - d: *mut f64, - z: *mut f64, - vf: *mut f64, - vl: *mut f64, - difl: *mut f64, - difr: *mut f64, - dsigma: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasda_( - icompq: *mut ::std::os::raw::c_int, - smlsiz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - sqre: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - u: *mut f64, - ldu: *mut *mut ::std::os::raw::c_int, - vt: *mut f64, - k: *mut ::std::os::raw::c_int, - difl: *mut f64, - difr: *mut f64, - z: *mut f64, - poles: *mut f64, - givptr: *mut ::std::os::raw::c_int, - givcol: *mut ::std::os::raw::c_int, - ldgcol: *mut ::std::os::raw::c_int, - perm: *mut ::std::os::raw::c_int, - givnum: *mut f64, - c: *mut f64, - s: *mut f64, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dlasdq_( - uplo: *const ::std::os::raw::c_char, - sqre: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut f64, - ldvt: *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dlasdt_( - n: *mut ::std::os::raw::c_int, - lvl: *mut ::std::os::raw::c_int, - nd: *mut ::std::os::raw::c_int, - inode: *mut ::std::os::raw::c_int, - ndiml: *mut ::std::os::raw::c_int, - ndimr: *mut ::std::os::raw::c_int, - msub: *mut ::std::os::raw::c_int, - ); - pub fn dlasq5_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - tau: *mut f64, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ieee: *mut ::std::os::raw::c_int, - ); - pub fn dlasq6_( - i0: *mut ::std::os::raw::c_int, - n0: *mut ::std::os::raw::c_int, - z: *mut f64, - pp: *mut ::std::os::raw::c_int, - dmin: *mut f64, - dmin1: *mut f64, - dmin2: *mut f64, - dn: *mut f64, - dnm1: *mut f64, - dnm2: *mut f64, - ); - pub fn dlatdf_( - ijob: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - rhs: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - ipiv: *mut ::std::os::raw::c_int, - jpiv: *mut ::std::os::raw::c_int, - ); - pub fn dlatrz_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - ); - pub fn dormr3_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dormrz_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - l: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dptts2_( - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - ); - pub fn dsbgvd_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsbgvx_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ka: *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - ab: *mut f64, - ldab: *mut ::std::os::raw::c_int, - bb: *mut f64, - ldbb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dspgvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dspgvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut f64, - bp: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dstegr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dstevr_( - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - isuppz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvd_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - w: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dsygvx_( - itype: *mut ::std::os::raw::c_int, - jobz: *const ::std::os::raw::c_char, - range: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - vu: *mut f64, - il: *mut ::std::os::raw::c_int, - iu: *mut ::std::os::raw::c_int, - abstol: *mut f64, - m: *mut ::std::os::raw::c_int, - w: *mut f64, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - ifail: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn dtgex2_( - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - j1: *mut ::std::os::raw::c_int, - n1: *mut ::std::os::raw::c_int, - n2: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgexc_( - wantq: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - ifst: *mut ::std::os::raw::c_int, - ilst: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsen_( - ijob: *mut ::std::os::raw::c_int, - wantq: *const ::std::os::raw::c_int, - wantz: *const ::std::os::raw::c_int, - select: *const ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - z: *mut f64, - ldz: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - pl: *mut f64, - pr: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - liwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dtgsna_( - job: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - vl: *mut f64, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *mut ::std::os::raw::c_int, - s: *mut f64, - dif: *mut f64, - mm: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dtgsy2_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - rdsum: *mut f64, - rdscal: *mut f64, - iwork: *mut ::std::os::raw::c_int, - pq: *mut *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtgsyl_( - trans: *const ::std::os::raw::c_char, - ijob: *mut ::std::os::raw::c_int, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - c: *mut f64, - ldc: *mut ::std::os::raw::c_int, - d: *mut f64, - ldd: *mut ::std::os::raw::c_int, - e: *mut f64, - lde: *mut ::std::os::raw::c_int, - f: *mut f64, - ldf: *mut ::std::os::raw::c_int, - scale: *mut f64, - dif: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn dtzrzf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn dpstrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - piv: *mut ::std::os::raw::c_int, - rank: *mut ::std::os::raw::c_int, - tol: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "This returns Fortran LOGICAL. See comments at the top of the file.\nclapack and Accelerate headers declare lsamen but not lsame.\n\nSome people regard this as part of BLAS, and it is used on some\nBLAS routines. However, it is not included by\nApple's Accelerate (nor cblas: it is in lapacke)."] - pub fn lsame_( - ca: *const ::std::os::raw::c_char, - cb: *const ::std::os::raw::c_char, - arg1: usize, - arg2: usize, - ) -> *mut ::std::os::raw::c_int; - pub fn zbdsqr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ncvt: *mut ::std::os::raw::c_int, - nru: *mut ::std::os::raw::c_int, - ncc: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - vt: *mut Rcomplex, - ldvt: *mut ::std::os::raw::c_int, - u: *mut Rcomplex, - ldu: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zdrot_( - n: *const ::std::os::raw::c_int, - cx: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - cy: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - c: *const f64, - s: *const f64, - ); - pub fn zgebak_( - job: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - m: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zgebal_( - job: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - scale: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgebd2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgebrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehd2_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgehrd_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelq2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgelqf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgeqrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrf2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "ZGETRI computes the inverse of a matrix using the LU factorization\n computed by ZGETRF.\n Added in R 3.3.0"] - pub fn zgetri_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zgetrs_( - trans: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetd2_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhseqr_( - job: *const ::std::os::raw::c_char, - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlabrd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - tauq: *mut Rcomplex, - taup: *mut Rcomplex, - x: *mut Rcomplex, - ldx: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); - pub fn zlacgv_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlacpy_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlahqr_( - wantt: *mut ::std::os::raw::c_int, - wantz: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - h: *mut Rcomplex, - ldh: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - iloz: *mut ::std::os::raw::c_int, - ihiz: *mut ::std::os::raw::c_int, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zlange_( - norm: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlanhe_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zlanhs_( - norm: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ) -> f64; - pub fn zlantp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - ap: *mut Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - arg3: usize, - ) -> f64; - pub fn zlaqp2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - work: *mut Rcomplex, - ); - pub fn zlaqps_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - offset: *mut ::std::os::raw::c_int, - nb: *mut *mut ::std::os::raw::c_int, - kb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - vn1: *mut f64, - vn2: *mut f64, - auxv: *mut Rcomplex, - f: *mut Rcomplex, - ldf: *mut ::std::os::raw::c_int, - ); - pub fn zlarf_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - incv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlarfb_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - ldwork: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zlarfg_( - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - ); - pub fn zlarft_( - direct: *const ::std::os::raw::c_char, - storev: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - ldv: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zlarfx_( - side: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - v: *mut Rcomplex, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - arg1: usize, - ); - pub fn zlascl_( - type_: *const ::std::os::raw::c_char, - kl: *mut ::std::os::raw::c_int, - ku: *mut ::std::os::raw::c_int, - cfrom: *mut f64, - cto: *mut f64, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlaset_( - uplo: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - alpha: *mut Rcomplex, - beta: *mut Rcomplex, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlasr_( - side: *const ::std::os::raw::c_char, - pivot: *const ::std::os::raw::c_char, - direct: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - c: *mut f64, - s: *mut f64, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlassq_( - n: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - incx: *mut ::std::os::raw::c_int, - scale: *mut f64, - sumsq: *mut f64, - ); - pub fn zlaswp_( - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - k1: *mut ::std::os::raw::c_int, - k2: *mut ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - incx: *mut ::std::os::raw::c_int, - ); - pub fn zlatrd_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - e: *mut f64, - tau: *mut Rcomplex, - w: *mut Rcomplex, - ldw: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zlatrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - normin: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - x: *mut Rcomplex, - scale: *mut f64, - cnorm: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - arg4: usize, - ); - pub fn zsteqr_( - compz: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - d: *mut f64, - e: *mut f64, - z: *mut Rcomplex, - ldz: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zpocon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zspcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsycon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - #[doc = "ZSYMV performs the matrix-vector operation y := alpha*A*x + beta*y"] - pub fn zsymv_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - alpha: *const Rcomplex, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - x: *const Rcomplex, - incx: *const ::std::os::raw::c_int, - beta: *const Rcomplex, - y: *mut Rcomplex, - incy: *const ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zsytrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn ztpcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztptri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn ztptrs_( - uplo: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - ap: *const Rcomplex, - b: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrtri_( - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "ZTRCON estimates the reciprocal of the condition number of a\n triangular matrix A, in either the 1-norm or the infinity-norm."] - pub fn ztrcon_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - diag: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - rcond: *mut f64, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn ztrevc_( - side: *const ::std::os::raw::c_char, - howmny: *const ::std::os::raw::c_char, - select: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - vl: *mut Rcomplex, - ldvl: *mut ::std::os::raw::c_int, - vr: *mut Rcomplex, - ldvr: *mut ::std::os::raw::c_int, - mm: *mut ::std::os::raw::c_int, - m: *mut *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zung2l_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zung2r_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungbr_( - vect: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunghr_( - n: *mut ::std::os::raw::c_int, - ilo: *mut ::std::os::raw::c_int, - ihi: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungl2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zunglq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungql_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungqr_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungr2_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungrq_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - pub fn zungtr_( - uplo: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zunm2r_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmbr_( - vect: *const ::std::os::raw::c_char, - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zunml2_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zunmlq_( - side: *const ::std::os::raw::c_char, - trans: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - c: *mut Rcomplex, - ldc: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "Added in R 3.1.0 */\n/* ZGESVD - compute the singular value decomposition (SVD); of a */\n/* real M-by-N matrix A, optionally computing the left and/or\t */\n/* right singular vectors"] - pub fn zgesdd_( - jobz: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - s: *mut f64, - u: *mut Rcomplex, - ldu: *const ::std::os::raw::c_int, - vt: *mut Rcomplex, - ldvt: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgelsd_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - b: *mut Rcomplex, - ldb: *mut ::std::os::raw::c_int, - s: *mut f64, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *mut ::std::os::raw::c_int, - rwork: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "More Complex for R 4.4.0 --- Complex Hermitian (incl \"crossprod\")"] - pub fn zlanhp_( - norm: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - work: *mut f64, - arg1: usize, - arg2: usize, - ) -> f64; - pub fn zhpcon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - AP: *mut Rcomplex, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhptrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - AP: *const Rcomplex, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhecon_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - anorm: *const f64, - rcond: *mut f64, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrf_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *mut ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetri_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - A: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zhetrs_( - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - nrhs: *const ::std::os::raw::c_int, - A: *const Rcomplex, - lda: *const ::std::os::raw::c_int, - ipiv: *const ::std::os::raw::c_int, - B: *mut Rcomplex, - ldb: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - ); - pub fn zgees_( - jobvs: *const ::std::os::raw::c_char, - sort: *const ::std::os::raw::c_char, - select: ::std::option::Option< - unsafe extern "C" fn(arg1: *const Rcomplex) -> ::std::os::raw::c_int, - >, - n: *const ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *const ::std::os::raw::c_int, - sdim: *mut ::std::os::raw::c_int, - w: *mut Rcomplex, - vs: *mut Rcomplex, - ldvs: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - lwork: *const ::std::os::raw::c_int, - rwork: *mut f64, - bwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn zhpev_( - jobz: *const ::std::os::raw::c_char, - uplo: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - ap: *mut Rcomplex, - w: *mut f64, - z: *mut Rcomplex, - ldz: *const ::std::os::raw::c_int, - work: *mut Rcomplex, - rwork: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEGV - compute for a pair of n-by-n real nonsymmetric */\n/* matrices A and B, the generalized eigenvalues (alphar +/- */\n/* alphai*i, beta);, and optionally, the left and/or right */\n/* generalized eigenvectors (VL and VR);"] - pub fn dgegv_( - jobvl: *const ::std::os::raw::c_char, - jobvr: *const ::std::os::raw::c_char, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *const f64, - vl: *mut f64, - ldvl: *const ::std::os::raw::c_int, - vr: *mut f64, - ldvr: *const ::std::os::raw::c_int, - work: *mut f64, - lwork: *const ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - #[doc = "DGEQPF - compute a QR factorization with column pivoting of a */\n/* real M-by-N matrix A"] - pub fn dgeqpf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DGGSVD - compute the generalized singular value decomposition */\n/* (GSVD) of an M-by-N real matrix A and P-by-N real matrix B"] - pub fn dggsvd_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - p: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - l: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - b: *mut f64, - ldb: *const ::std::os::raw::c_int, - alpha: *const f64, - beta: *const f64, - u: *mut f64, - ldu: *const ::std::os::raw::c_int, - v: *mut f64, - ldv: *const ::std::os::raw::c_int, - q: *mut f64, - ldq: *const ::std::os::raw::c_int, - work: *mut f64, - iwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - #[doc = "DTZRQF - reduce the M-by-N ( M<=N ); real upper trapezoidal */\n/* matrix A to upper triangular form by means of orthogonal */\n/* transformations"] - pub fn dtzrqf_( - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - #[doc = "DLAHRD - reduce the first NB columns of a real general */\n/* n-by-(n-k+1); matrix A so that elements below the k-th */\n/* subdiagonal are zero"] - pub fn dlahrd_( - n: *const ::std::os::raw::c_int, - k: *const ::std::os::raw::c_int, - nb: *const ::std::os::raw::c_int, - a: *mut f64, - lda: *const ::std::os::raw::c_int, - tau: *mut f64, - t: *mut f64, - ldt: *const ::std::os::raw::c_int, - y: *mut f64, - ldy: *const ::std::os::raw::c_int, - ); - #[doc = "DLATZM - apply a Householder matrix generated by DTZRQF to a */\n/* matrix"] - pub fn dlatzm_( - side: *const ::std::os::raw::c_char, - m: *const ::std::os::raw::c_int, - n: *const ::std::os::raw::c_int, - v: *const f64, - incv: *const ::std::os::raw::c_int, - tau: *const f64, - c1: *mut f64, - c2: *mut f64, - ldc: *const ::std::os::raw::c_int, - work: *mut f64, - arg1: usize, - ); - pub fn dgegs_( - jobvsl: *const ::std::os::raw::c_char, - jobvsr: *const ::std::os::raw::c_char, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - alphar: *mut f64, - alphai: *mut f64, - beta: *mut f64, - vsl: *mut f64, - ldvsl: *mut ::std::os::raw::c_int, - vsr: *mut f64, - ldvsr: *mut ::std::os::raw::c_int, - work: *mut f64, - lwork: *mut ::std::os::raw::c_int, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - ); - pub fn dgelsx_( - m: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - nrhs: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - jpvt: *mut ::std::os::raw::c_int, - rcond: *mut f64, - rank: *mut ::std::os::raw::c_int, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - ); - pub fn dggsvp_( - jobu: *const ::std::os::raw::c_char, - jobv: *const ::std::os::raw::c_char, - jobq: *const ::std::os::raw::c_char, - m: *mut ::std::os::raw::c_int, - p: *mut ::std::os::raw::c_int, - n: *mut ::std::os::raw::c_int, - a: *mut f64, - lda: *mut ::std::os::raw::c_int, - b: *mut f64, - ldb: *mut ::std::os::raw::c_int, - tola: *mut f64, - tolb: *mut f64, - k: *mut ::std::os::raw::c_int, - l: *mut *mut ::std::os::raw::c_int, - u: *mut f64, - ldu: *mut ::std::os::raw::c_int, - v: *mut f64, - ldv: *mut ::std::os::raw::c_int, - q: *mut f64, - ldq: *mut ::std::os::raw::c_int, - iwork: *mut ::std::os::raw::c_int, - tau: *mut f64, - work: *mut f64, - info: *mut ::std::os::raw::c_int, - arg1: usize, - arg2: usize, - arg3: usize, - ); - pub fn zlahrd_( - n: *mut ::std::os::raw::c_int, - k: *mut ::std::os::raw::c_int, - nb: *mut ::std::os::raw::c_int, - a: *mut Rcomplex, - lda: *mut ::std::os::raw::c_int, - tau: *mut Rcomplex, - t: *mut Rcomplex, - ldt: *mut ::std::os::raw::c_int, - y: *mut Rcomplex, - ldy: *mut ::std::os::raw::c_int, - ); -} diff --git a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs b/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs deleted file mode 100644 index 34658fa4..00000000 --- a/src/bindings/bindings-Linpack-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,332 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "Double Precision LINPACK"] - pub fn dpbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dpoco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpodi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dpofa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dposl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); - pub fn dqrdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dqrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dsvdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut ::std::os::raw::c_int, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - arg13: *mut ::std::os::raw::c_int, - ); - pub fn dtrco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dtrsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - ); - #[doc = "The following routines are listed as they have always been declared\nhere, but they are not currently included in R"] - pub fn dchdc_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dchdd_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - arg12: *mut ::std::os::raw::c_int, - ); - pub fn dchex_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut ::std::os::raw::c_int, - ); - pub fn dchud_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut f64, - arg9: *mut f64, - arg10: *mut f64, - arg11: *mut f64, - ); - pub fn dgbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut f64, - ); - pub fn dgbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - ); - pub fn dgbfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgbsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dgeco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dgedi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dgefa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dgesl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dgtsl_( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut f64, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - ); - pub fn dpbco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dpbdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dppco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dppdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut f64, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dppfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - ); - pub fn dppsl_(arg1: *mut f64, arg2: *mut ::std::os::raw::c_int, arg3: *mut f64); - pub fn dptsl_(arg1: *mut ::std::os::raw::c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut f64); - pub fn dsico_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut f64, - ); - pub fn dsidi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut f64, - arg8: *mut ::std::os::raw::c_int, - ); - pub fn dsifa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - ); - pub fn dsisl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut f64, - ); - pub fn dspco_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut f64, - ); - pub fn dspdi_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut f64, - arg7: *mut ::std::os::raw::c_int, - ); - pub fn dspfa_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - ); - pub fn dspsl_( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut f64, - ); -} diff --git a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs b/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs deleted file mode 100644 index 55a196ba..00000000 --- a/src/bindings/bindings-MathThreads-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,12 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub static mut R_num_math_threads: ::std::os::raw::c_int; - pub static mut R_max_num_math_threads: ::std::os::raw::c_int; -} diff --git a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs b/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs deleted file mode 100644 index a577edd2..00000000 --- a/src/bindings/bindings-Memory-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,32 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn vmaxget() -> *mut ::std::os::raw::c_void; - pub fn vmaxset(arg1: *const ::std::os::raw::c_void); - pub fn R_gc(); - pub fn R_gc_running() -> ::std::os::raw::c_int; - pub fn R_alloc(arg1: usize, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; - pub fn R_allocLD(nelem: usize) -> *mut u128; - pub fn S_alloc( - arg1: ::std::os::raw::c_long, - arg2: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn S_realloc( - arg1: *mut ::std::os::raw::c_char, - arg2: ::std::os::raw::c_long, - arg3: ::std::os::raw::c_long, - arg4: ::std::os::raw::c_int, - ) -> *mut ::std::os::raw::c_char; - pub fn R_malloc_gc(arg1: usize) -> *mut ::std::os::raw::c_void; - pub fn R_calloc_gc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_realloc_gc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; -} diff --git a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs b/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs deleted file mode 100644 index 6f12f189..00000000 --- a/src/bindings/bindings-Parse-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,26 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[doc = "PARSE_NULL will not be returned by R_ParseVector"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum ParseStatus { - PARSE_NULL = 0, - PARSE_OK = 1, - PARSE_INCOMPLETE = 2, - PARSE_ERROR = 3, - PARSE_EOF = 4, -} -extern "C" { - pub fn R_ParseVector( - arg1: SEXP, - arg2: ::std::os::raw::c_int, - arg3: *mut ParseStatus, - arg4: SEXP, - ) -> SEXP; -} diff --git a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs b/src/bindings/bindings-Print-windows-x86_64-R4.4.rs deleted file mode 100644 index 258f61d9..00000000 --- a/src/bindings/bindings-Print-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,17 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub type __gnuc_va_list = __builtin_va_list; -pub type va_list = __gnuc_va_list; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type __builtin_va_list = *mut ::std::os::raw::c_char; -extern "C" { - pub fn Rprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn REprintf(arg1: *const ::std::os::raw::c_char, ...); - pub fn Rvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); - pub fn REvprintf(arg1: *const ::std::os::raw::c_char, arg2: va_list); -} diff --git a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs b/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs deleted file mode 100644 index 4c45cede..00000000 --- a/src/bindings/bindings-PrtUtil-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,111 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -pub type SEXP = *mut SEXPREC; -extern "C" { - pub fn formatLogicalS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatIntegerS(arg1: SEXP, arg2: R_xlen_t, arg3: *mut ::std::os::raw::c_int); - pub fn formatRealS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: ::std::os::raw::c_int, - ); - pub fn formatComplexS( - arg1: SEXP, - arg2: R_xlen_t, - arg3: *mut ::std::os::raw::c_int, - arg4: *mut ::std::os::raw::c_int, - arg5: *mut ::std::os::raw::c_int, - arg6: *mut ::std::os::raw::c_int, - arg7: *mut ::std::os::raw::c_int, - arg8: *mut ::std::os::raw::c_int, - arg9: ::std::os::raw::c_int, - ); - pub fn Rf_EncodeReal0( - arg1: f64, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - arg5: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Printing"] - pub fn Rf_IndexWidth(arg1: R_xlen_t) -> ::std::os::raw::c_int; - pub fn Rf_VectorIndex(arg1: R_xlen_t, arg2: ::std::os::raw::c_int); - #[doc = "void printLogicalVector(int *, R_xlen_t, int);"] - pub fn Rf_printIntegerVector( - arg1: *const ::std::os::raw::c_int, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_printComplexVector( - arg1: *const Rcomplex, - arg2: R_xlen_t, - arg3: ::std::os::raw::c_int, - ); - pub fn printIntegerVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printRealVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); - pub fn printComplexVectorS(arg1: SEXP, arg2: R_xlen_t, arg3: ::std::os::raw::c_int); -} diff --git a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs b/src/bindings/bindings-RS-windows-x86_64-R4.4.rs deleted file mode 100644 index 5b7711dd..00000000 --- a/src/bindings/bindings-RS-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,17 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - #[doc = "S Like Memory Management"] - pub fn R_chk_calloc(arg1: usize, arg2: usize) -> *mut ::std::os::raw::c_void; - pub fn R_chk_realloc( - arg1: *mut ::std::os::raw::c_void, - arg2: usize, - ) -> *mut ::std::os::raw::c_void; - pub fn R_chk_free(arg1: *mut ::std::os::raw::c_void); -} diff --git a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs b/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs deleted file mode 100644 index bd11e0c5..00000000 --- a/src/bindings/bindings-RStartup-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,235 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[repr(C)] -#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { - storage: Storage, -} -impl __BindgenBitfieldUnit { - #[inline] - pub const fn new(storage: Storage) -> Self { - Self { storage } - } -} -impl __BindgenBitfieldUnit -where - Storage: AsRef<[u8]> + AsMut<[u8]>, -{ - #[inline] - pub fn get_bit(&self, index: usize) -> bool { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = self.storage.as_ref()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - byte & mask == mask - } - #[inline] - pub fn set_bit(&mut self, index: usize, val: bool) { - debug_assert!(index / 8 < self.storage.as_ref().len()); - let byte_index = index / 8; - let byte = &mut self.storage.as_mut()[byte_index]; - let bit_index = if cfg!(target_endian = "big") { - 7 - (index % 8) - } else { - index % 8 - }; - let mask = 1 << bit_index; - if val { - *byte |= mask; - } else { - *byte &= !mask; - } - } - #[inline] - pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - let mut val = 0; - for i in 0..(bit_width as usize) { - if self.get_bit(i + bit_offset) { - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - val |= 1 << index; - } - } - val - } - #[inline] - pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { - debug_assert!(bit_width <= 64); - debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); - debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); - for i in 0..(bit_width as usize) { - let mask = 1 << i; - let val_bit_is_set = val & mask == mask; - let index = if cfg!(target_endian = "big") { - bit_width as usize - 1 - i - } else { - i - }; - self.set_bit(index + bit_offset, val_bit_is_set); - } - } -} -pub const RSTART_VERSION: u32 = 1; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum UImode { - RGui = 0, - RTerm = 1, - LinkDLL = 2, -} -#[repr(u32)] -#[doc = "Startup Actions"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum SA_TYPE { - #[doc = "= 0"] - SA_NORESTORE = 0, - SA_RESTORE = 1, - #[doc = "was === SA_RESTORE"] - SA_DEFAULT = 2, - SA_NOSAVE = 3, - SA_SAVE = 4, - SA_SAVEASK = 5, - SA_SUICIDE = 6, -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct structRstart { - pub R_Quiet: Rboolean, - pub R_NoEcho: Rboolean, - pub R_Interactive: Rboolean, - pub R_Verbose: Rboolean, - pub LoadSiteFile: Rboolean, - pub LoadInitFile: Rboolean, - pub DebugInitFile: Rboolean, - pub RestoreAction: SA_TYPE, - pub SaveAction: SA_TYPE, - pub vsize: usize, - pub nsize: usize, - pub max_vsize: usize, - pub max_nsize: usize, - pub ppsize: usize, - pub _bitfield_align_1: [u16; 0], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, - pub nconnections: ::std::os::raw::c_int, - #[doc = "R_HOME"] - pub rhome: *mut ::std::os::raw::c_char, - #[doc = "HOME"] - pub home: *mut ::std::os::raw::c_char, - pub ReadConsole: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::std::os::raw::c_uchar, - arg3: ::std::os::raw::c_int, - arg4: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int, - >, - pub WriteConsole: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int), - >, - #[doc = "ProcessEvents under Unix"] - pub CallBack: ::std::option::Option, - pub ShowMessage: - ::std::option::Option, - pub YesNoCancel: ::std::option::Option< - unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, - >, - #[doc = "Return value here is expected to be 1 for Yes, -1 for No and\n0 for Cancel: symbolic constants in graphapp.h"] - pub Busy: ::std::option::Option, - pub CharacterMode: UImode, - #[doc = "The following field has been added in R 2.5.0"] - pub WriteConsoleEx: ::std::option::Option< - unsafe extern "C" fn( - arg1: *const ::std::os::raw::c_char, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - #[doc = "The following field has been added in R 4.0.0."] - pub EmitEmbeddedUTF8: Rboolean, - #[doc = "The following fields have been added in R 4.2.0 and are only\navailable with RstarVersion 1."] - pub CleanUp: ::std::option::Option< - unsafe extern "C" fn( - arg1: SA_TYPE, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ), - >, - pub ClearerrConsole: ::std::option::Option, - pub FlushConsole: ::std::option::Option, - pub ResetConsole: ::std::option::Option, - pub Suicide: ::std::option::Option, -} -impl structRstart { - #[inline] - pub fn NoRenviron(&self) -> Rboolean { - unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } - } - #[inline] - pub fn set_NoRenviron(&mut self, val: Rboolean) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(0usize, 16u8, val as u64) - } - } - #[inline] - pub fn RstartVersion(&self) -> ::std::os::raw::c_int { - unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } - } - #[inline] - pub fn set_RstartVersion(&mut self, val: ::std::os::raw::c_int) { - unsafe { - let val: u32 = ::std::mem::transmute(val); - self._bitfield_1.set(16usize, 16u8, val as u64) - } - } - #[inline] - pub fn new_bitfield_1( - NoRenviron: Rboolean, - RstartVersion: ::std::os::raw::c_int, - ) -> __BindgenBitfieldUnit<[u8; 4usize]> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); - __bindgen_bitfield_unit.set(0usize, 16u8, { - let NoRenviron: u32 = unsafe { ::std::mem::transmute(NoRenviron) }; - NoRenviron as u64 - }); - __bindgen_bitfield_unit.set(16usize, 16u8, { - let RstartVersion: u32 = unsafe { ::std::mem::transmute(RstartVersion) }; - RstartVersion as u64 - }); - __bindgen_bitfield_unit - } -} -pub type Rstart = *mut structRstart; -extern "C" { - pub fn R_common_command_line( - arg1: *mut ::std::os::raw::c_int, - arg2: *mut *mut ::std::os::raw::c_char, - arg3: Rstart, - ); - pub fn setup_Rmainloop(); -} diff --git a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs deleted file mode 100644 index cf3f2697..00000000 --- a/src/bindings/bindings-Rallocators-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,27 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -pub type R_allocator_t = R_allocator; -pub type custom_alloc_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: usize) -> *mut ::std::os::raw::c_void, ->; -pub type custom_free_t = ::std::option::Option< - unsafe extern "C" fn(allocator: *mut R_allocator_t, arg1: *mut ::std::os::raw::c_void), ->; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_allocator { - #[doc = "malloc equivalent"] - pub mem_alloc: custom_alloc_t, - #[doc = "free equivalent"] - pub mem_free: custom_free_t, - #[doc = "reserved (maybe for copy) - must be NULL"] - pub res: *mut ::std::os::raw::c_void, - #[doc = "custom data for the allocator implementation"] - pub data: *mut ::std::os::raw::c_void, -} diff --git a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs b/src/bindings/bindings-Random-windows-x86_64-R4.4.rs deleted file mode 100644 index 4f59dcf9..00000000 --- a/src/bindings/bindings-Random-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,54 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum RNGtype { - WICHMANN_HILL = 0, - MARSAGLIA_MULTICARRY = 1, - SUPER_DUPER = 2, - MERSENNE_TWISTER = 3, - KNUTH_TAOCP = 4, - USER_UNIF = 5, - KNUTH_TAOCP2 = 6, - LECUYER_CMRG = 7, -} -#[repr(u32)] -#[doc = "Different kinds of \"N(0,1)\" generators :"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum N01type { - BUGGY_KINDERMAN_RAMAGE = 0, - AHRENS_DIETER = 1, - BOX_MULLER = 2, - USER_NORM = 3, - INVERSION = 4, - KINDERMAN_RAMAGE = 5, -} -#[repr(u32)] -#[doc = "Different ways to generate discrete uniform samples"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Sampletype { - ROUNDING = 0, - REJECTION = 1, -} -pub type Int32 = ::std::os::raw::c_uint; -extern "C" { - pub fn R_sample_kind() -> Sampletype; - pub fn GetRNGstate(); - pub fn PutRNGstate(); - pub fn unif_rand() -> f64; - pub fn R_unif_index(arg1: f64) -> f64; - #[doc = "These are also defined in Rmath.h"] - pub fn norm_rand() -> f64; - pub fn exp_rand() -> f64; - pub fn user_unif_rand() -> *mut f64; - pub fn user_unif_init(arg1: Int32); - pub fn user_unif_nseed() -> *mut ::std::os::raw::c_int; - pub fn user_unif_seedloc() -> *mut ::std::os::raw::c_int; - pub fn user_norm_rand() -> *mut f64; -} diff --git a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs b/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs deleted file mode 100644 index c4bd74b1..00000000 --- a/src/bindings/bindings-Rdynload-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,89 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -pub const SINGLESXP: u32 = 302; -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[doc = "Called with a variable argument set after casting to a compatible\nfunction pointer."] -pub type DL_FUNC = ::std::option::Option *mut ::std::os::raw::c_void>; -pub type R_NativePrimitiveArgType = ::std::os::raw::c_uint; -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, - pub types: *mut R_NativePrimitiveArgType, -} -#[doc = "These are very similar to those in Rdynpriv.h,\nbut we maintain them separately to give us more freedom to do\nsome computations on the internal versions that are derived from\nthese definitions."] -pub type R_FortranMethodDef = R_CMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct R_CallMethodDef { - pub name: *const ::std::os::raw::c_char, - pub fun: DL_FUNC, - pub numArgs: ::std::os::raw::c_int, -} -pub type R_ExternalMethodDef = R_CallMethodDef; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct _DllInfo { - _unused: [u8; 0], -} -pub type DllInfo = _DllInfo; -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct Rf_RegisteredNativeSymbol { - _unused: [u8; 0], -} -pub type R_RegisteredNativeSymbol = Rf_RegisteredNativeSymbol; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum NativeSymbolType { - R_ANY_SYM = 0, - R_C_SYM = 1, - R_CALL_SYM = 2, - R_FORTRAN_SYM = 3, - R_EXTERNAL_SYM = 4, -} -extern "C" { - pub fn R_registerRoutines( - info: *mut DllInfo, - croutines: *const R_CMethodDef, - callRoutines: *const R_CallMethodDef, - fortranRoutines: *const R_FortranMethodDef, - externalRoutines: *const R_ExternalMethodDef, - ) -> ::std::os::raw::c_int; - pub fn R_useDynamicSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_forceSymbols(info: *mut DllInfo, value: Rboolean) -> Rboolean; - pub fn R_getDllInfo(name: *const ::std::os::raw::c_char) -> *mut DllInfo; - #[doc = "To be used by applications embedding R to register their symbols\nthat are not related to any dynamic module"] - pub fn R_getEmbeddingDllInfo() -> *mut DllInfo; - pub fn R_FindSymbol( - arg1: *const ::std::os::raw::c_char, - arg2: *const ::std::os::raw::c_char, - symbol: *mut R_RegisteredNativeSymbol, - ) -> DL_FUNC; - #[doc = "Interface for exporting and importing functions from one package\nfor use from C code in a package. The registration part probably\nought to be integrated with the other registrations. The naming of\nthese routines may be less than ideal."] - pub fn R_RegisterCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - fptr: DL_FUNC, - ); - pub fn R_GetCCallable( - package: *const ::std::os::raw::c_char, - name: *const ::std::os::raw::c_char, - ) -> DL_FUNC; -} diff --git a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs b/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs deleted file mode 100644 index eebba16c..00000000 --- a/src/bindings/bindings-Riconv-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,22 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn Riconv_open( - tocode: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_void; - pub fn Riconv( - cd: *mut ::std::os::raw::c_void, - inbuf: *mut *const ::std::os::raw::c_char, - inbytesleft: *mut usize, - outbuf: *mut *mut ::std::os::raw::c_char, - outbytesleft: *mut usize, - ) -> usize; - pub fn Riconv_close(cd: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; -} diff --git a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs b/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs deleted file mode 100644 index 5b870a74..00000000 --- a/src/bindings/bindings-Utils-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,177 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] -#[repr(C)] -pub struct __BindgenComplex { - pub re: T, - pub im: T, -} -#[repr(C)] -pub struct __BindgenUnionField(::std::marker::PhantomData); -impl __BindgenUnionField { - #[inline] - pub const fn new() -> Self { - __BindgenUnionField(::std::marker::PhantomData) - } - #[inline] - pub unsafe fn as_ref(&self) -> &T { - ::std::mem::transmute(self) - } - #[inline] - pub unsafe fn as_mut(&mut self) -> &mut T { - ::std::mem::transmute(self) - } -} -impl ::std::default::Default for __BindgenUnionField { - #[inline] - fn default() -> Self { - Self::new() - } -} -impl ::std::clone::Clone for __BindgenUnionField { - #[inline] - fn clone(&self) -> Self { - *self - } -} -impl ::std::marker::Copy for __BindgenUnionField {} -impl ::std::fmt::Debug for __BindgenUnionField { - fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { - fmt.write_str("__BindgenUnionField") - } -} -impl ::std::hash::Hash for __BindgenUnionField { - fn hash(&self, _state: &mut H) {} -} -impl ::std::cmp::PartialEq for __BindgenUnionField { - fn eq(&self, _other: &__BindgenUnionField) -> bool { - true - } -} -impl ::std::cmp::Eq for __BindgenUnionField {} -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum Rboolean { - #[doc = ", MAYBE"] - FALSE = 0, - #[doc = ", MAYBE"] - TRUE = 1, -} -#[repr(C)] -pub struct Rcomplex { - pub __bindgen_anon_1: __BindgenUnionField, - pub private_data_c: __BindgenUnionField<__BindgenComplex>, - pub bindgen_union_field: [u64; 2usize], -} -extern "C" { - #[doc = "../../main/sort.c :"] - pub fn R_isort(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int); - pub fn R_rsort(arg1: *mut f64, arg2: ::std::os::raw::c_int); - pub fn R_csort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int); - pub fn rsort_with_index( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_revsort( - arg1: *mut f64, - arg2: *mut ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_iPsort( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_rPsort(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - pub fn Rf_cPsort(arg1: *mut Rcomplex, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int); - #[doc = "../../main/qsort.c : */\n/* dummy renamed to II to avoid problems with g++ on Solaris"] - pub fn R_qsort(v: *mut f64, i: usize, j: usize); - pub fn R_qsort_I( - v: *mut f64, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - pub fn R_qsort_int(iv: *mut ::std::os::raw::c_int, i: usize, j: usize); - pub fn R_qsort_int_I( - iv: *mut ::std::os::raw::c_int, - II: *mut ::std::os::raw::c_int, - i: ::std::os::raw::c_int, - j: ::std::os::raw::c_int, - ); - #[doc = "../../main/util.c and others :"] - pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; - #[doc = "not API"] - pub fn R_ExpandFileNameUTF8( - arg1: *const ::std::os::raw::c_char, - ) -> *const ::std::os::raw::c_char; - #[doc = "Non-API, attribute_hidden and no longer used. Will be removed in R 4.5.0."] - pub fn Rf_setIVector( - arg1: *mut ::std::os::raw::c_int, - arg2: ::std::os::raw::c_int, - arg3: ::std::os::raw::c_int, - ); - pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] - pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; - pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) - -> f64; - pub fn R_tmpnam( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_tmpnam2( - prefix: *const ::std::os::raw::c_char, - tempdir: *const ::std::os::raw::c_char, - fileext: *const ::std::os::raw::c_char, - ) -> *mut ::std::os::raw::c_char; - pub fn R_free_tmpnam(name: *mut ::std::os::raw::c_char); - pub fn R_CheckUserInterrupt(); - pub fn R_CheckStack(); - pub fn R_CheckStack2(arg1: usize); - #[doc = "../../appl/interv.c: first also in Applic.h"] - pub fn findInterval( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - pub fn findInterval2( - xt: *mut f64, - n: ::std::os::raw::c_int, - x: f64, - rightmost_closed: Rboolean, - all_inside: Rboolean, - left_open: Rboolean, - ilo: ::std::os::raw::c_int, - mflag: *mut ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; - #[doc = "not API, entry point no longer exists"] - pub fn find_interv_vec( - xt: *mut f64, - n: *mut ::std::os::raw::c_int, - x: *mut f64, - nx: *mut ::std::os::raw::c_int, - rightmost_closed: *mut ::std::os::raw::c_int, - all_inside: *mut ::std::os::raw::c_int, - indx: *mut ::std::os::raw::c_int, - ); - #[doc = "../../appl/maxcol.c"] - pub fn R_max_col( - matrix: *mut f64, - nr: *mut ::std::os::raw::c_int, - nc: *mut ::std::os::raw::c_int, - maxes: *mut ::std::os::raw::c_int, - ties_meth: *mut ::std::os::raw::c_int, - ); -} diff --git a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs b/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs deleted file mode 100644 index 169a1c83..00000000 --- a/src/bindings/bindings-Visibility-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,8 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs b/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs deleted file mode 100644 index 169a1c83..00000000 --- a/src/bindings/bindings-libextern-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,8 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; diff --git a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs deleted file mode 100644 index 9337baa9..00000000 --- a/src/bindings/bindings-stats_package-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,118 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -#[repr(u32)] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum AlgType { - NREG = 1, - OPT = 2, -} -#[repr(u32)] -#[doc = "0-based indices into v"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum VPos { - F = 9, - F0 = 12, - FDIF = 10, - G = 27, - HC = 70, -} -impl IVPos { - pub const INITS: IVPos = IVPos::INITH; -} -#[repr(u32)] -#[doc = "0-based indices into iv"] -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] -pub enum IVPos { - AI = 90, - AM = 94, - ALGSAV = 50, - COVMAT = 25, - COVPRT = 13, - COVREQ = 14, - DRADPR = 100, - DTYPE = 15, - IERR = 74, - INITH = 24, - IPIVOT = 75, - IVNEED = 2, - LASTIV = 42, - LASTV = 44, - LMAT = 41, - MXFCAL = 16, - MXITER = 17, - NEXTV = 46, - NFCALL = 5, - NFCOV = 51, - NFGCAL = 6, - NGCOV = 52, - NITER = 30, - NVDFLT = 49, - NVSAVE = 8, - OUTLEV = 18, - PARPRT = 19, - PARSAV = 48, - PERM = 57, - PRUNIT = 20, - QRTYP = 79, - RDREQ = 56, - RMAT = 77, - SOLPRT = 21, - STATPR = 22, - TOOBIG = 1, - VNEED = 3, - VSAVE = 59, - X0PRT = 23, -} -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -} diff --git a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs b/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs deleted file mode 100644 index 44244a03..00000000 --- a/src/bindings/bindings-stats_stubs-windows-x86_64-R4.4.rs +++ /dev/null @@ -1,55 +0,0 @@ -/* automatically generated by rust-bindgen 0.69.4 */ - -/* libR-sys version: 0.7.0 */ -/* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.1 */ - -#[doc = "R_xlen_t is defined as int on 32-bit platforms, and\n that confuses Rust. Keeping it always as ptrdiff_t works\n fine even on 32-bit.\n
"] -pub type R_xlen_t = isize; -extern "C" { - pub fn S_Rf_divset( - alg: ::std::os::raw::c_int, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - v: *mut f64, - ); - pub fn S_nlminb_iterate( - b: *mut f64, - d: *mut f64, - fx: f64, - g: *mut f64, - h: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - v: *mut f64, - x: *mut f64, - ); - pub fn S_nlsb_iterate( - b: *mut f64, - d: *mut f64, - dr: *mut f64, - iv: *mut ::std::os::raw::c_int, - liv: ::std::os::raw::c_int, - lv: ::std::os::raw::c_int, - n: ::std::os::raw::c_int, - nd: ::std::os::raw::c_int, - p: ::std::os::raw::c_int, - r: *mut f64, - rd: *mut f64, - v: *mut f64, - x: *mut f64, - ); - pub fn S_rcont2( - nrow: ::std::os::raw::c_int, - ncol: ::std::os::raw::c_int, - nrowt: *const ::std::os::raw::c_int, - ncolt: *const ::std::os::raw::c_int, - ntotal: ::std::os::raw::c_int, - fact: *const f64, - jwork: *mut ::std::os::raw::c_int, - matrix: *mut ::std::os::raw::c_int, - ); -}